mirror of
https://github.com/php/php-src.git
synced 2024-12-02 06:13:40 +08:00
use_trans_sid should not affect SID
This commit is contained in:
parent
8882b28e60
commit
61e47a342e
21
ext/session/tests/015.phpt
Normal file
21
ext/session/tests/015.phpt
Normal 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">
|
Loading…
Reference in New Issue
Block a user