xref: /PHP-5.3/ext/session/tests/015.phpt (revision 5ad03cd4)
1--TEST--
2use_trans_sid should not affect SID
3--SKIPIF--
4<?php include('skipif.inc'); ?>
5--INI--
6session.use_trans_sid=1
7session.use_cookies=0
8session.use_only_cookies=0
9session.cache_limiter=
10arg_separator.output=&
11session.name=PHPSESSID
12session.serialize_handler=php
13session.save_handler=files
14--FILE--
15<?php
16error_reporting(E_ALL);
17
18session_id("abtest");
19session_start();
20?>
21<a href="/link?<?php echo SID; ?>">
22<?php
23session_destroy();
24?>
25--EXPECT--
26<a href="/link?PHPSESSID=abtest&PHPSESSID=abtest">
27