xref: /PHP-7.1/ext/session/tests/015.phpt (revision 25e8fcc8)
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.use_strict_mode=0
10session.cache_limiter=
11arg_separator.output=&
12session.name=PHPSESSID
13session.serialize_handler=php
14session.save_handler=files
15--FILE--
16<?php
17error_reporting(E_ALL);
18
19session_id("abtest");
20session_start();
21?>
22<a href="/link?<?php echo SID; ?>">
23<?php
24session_destroy();
25?>
26--EXPECT--
27<a href="/link?PHPSESSID=abtest&PHPSESSID=abtest">
28