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