use_trans_sid should not affect SID

This commit is contained in:
Sascha Schumann 2002-10-03 16:43:44 +00:00
parent 8882b28e60
commit 61e47a342e

View File

@ -0,0 +1,21 @@
--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=
--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">