diff options
author | Sascha Schumann <sas@php.net> | 2002-10-03 16:43:44 +0000 |
---|---|---|
committer | Sascha Schumann <sas@php.net> | 2002-10-03 16:43:44 +0000 |
commit | 61e47a342eb038b5821e0e36c70d6369061b7e47 (patch) | |
tree | 146f61a834a68a1276947bc1c792fa5d69d4d3e1 /ext/session/tests | |
parent | 8882b28e606a5171dd51146089609fb9ede21857 (diff) | |
download | php-git-61e47a342eb038b5821e0e36c70d6369061b7e47.tar.gz |
use_trans_sid should not affect SID
Diffstat (limited to 'ext/session/tests')
-rw-r--r-- | ext/session/tests/015.phpt | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/ext/session/tests/015.phpt b/ext/session/tests/015.phpt new file mode 100644 index 0000000000..f41294d867 --- /dev/null +++ b/ext/session/tests/015.phpt @@ -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"> |