2002-10-04 00:43:44 +08:00
|
|
|
--TEST--
|
|
|
|
use_trans_sid should not affect SID
|
|
|
|
--SKIPIF--
|
|
|
|
<?php include('skipif.inc'); ?>
|
|
|
|
--INI--
|
|
|
|
session.use_trans_sid=1
|
|
|
|
session.use_cookies=0
|
|
|
|
session.cache_limiter=
|
2002-10-13 01:12:43 +08:00
|
|
|
arg_separator.output=&
|
2002-10-13 19:14:49 +08:00
|
|
|
session.name=PHPSESSID
|
2002-11-26 07:20:05 +08:00
|
|
|
session.serialize_handler=php
|
2002-10-04 00:43:44 +08:00
|
|
|
--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">
|