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