php-src/ext/session/tests/015.phpt

25 lines
449 B
Plaintext
Raw Normal View History

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=
arg_separator.output=&
2002-10-13 19:14:49 +08:00
session.name=PHPSESSID
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">