Bug #52709 [NEW]: Transient sessions no longer work
| From: | nick at nbilyk dot com | Date: | Thu, 26 Aug 2010 18:21:32 +0000 |
| Subject: | Bug #52709 [NEW]: Transient sessions no longer work | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-153823@lists.php.net to get a copy of this message | ||
From:
Operating system: XP
PHP version: 5.3.3
Package: Session related
Bug Type: Bug
Bug description:Transient sessions no longer work
Description:
------------
Transient sessions no longer work. The script shown works in 5.2.5 but not
in
5.3.3
Test script:
---------------
<?php
ini_set("session.use_cookies", 0);
ini_set("session.use_trans_sid", 1);
session_start();
if (isset($_SESSION["foo"])) {
echo "Foo: " . $_SESSION["foo"];
} else {
$_SESSION["foo"] = "Foo";
echo "<a href=?" . session_name() . "=" . session_id() . ">Begin
test</a>";
}
?>
Expected result:
----------------
When the link is clicked, the transient session should cause
$_SESSION["foo"] to
be set.
Actual result:
--------------
$_SESSION["foo"] is not set, a new session id is given.
--
Edit bug report at http://bugs.php.net/bug.php?id=52709&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=52709&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=52709&r=trysnapshot53
Try a snapshot (trunk): http://bugs.php.net/fix.php?id=52709&r=trysnapshottrunk
Fixed in SVN: http://bugs.php.net/fix.php?id=52709&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=52709&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=52709&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=52709&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=52709&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=52709&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=52709&r=support
Expected behavior: http://bugs.php.net/fix.php?id=52709&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=52709&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=52709&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=52709&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=52709&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=52709&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=52709&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=52709&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=52709&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=52709&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=52709&r=mysqlcfg