summaryrefslogtreecommitdiff
path: root/ext/session/tests
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2002-10-03 16:43:44 +0000
committerSascha Schumann <sas@php.net>2002-10-03 16:43:44 +0000
commit61e47a342eb038b5821e0e36c70d6369061b7e47 (patch)
tree146f61a834a68a1276947bc1c792fa5d69d4d3e1 /ext/session/tests
parent8882b28e606a5171dd51146089609fb9ede21857 (diff)
downloadphp-git-61e47a342eb038b5821e0e36c70d6369061b7e47.tar.gz
use_trans_sid should not affect SID
Diffstat (limited to 'ext/session/tests')
-rw-r--r--ext/session/tests/015.phpt21
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">