Edit report at http://bugs.php.net/bug.php?id=52709&edit=1
ID: 52709 Updated by: j...@php.net Reported by: nick at nbilyk dot com Summary: Transient sessions no longer work -Status: Open +Status: Bogus Type: Bug Package: Session related Operating System: XP PHP Version: 5.3.3 Block user comment: N Private report: N New Comment: You need to disable this as well: ini_set("session.use_only_cookies", 0); Previous Comments: ------------------------------------------------------------------------ [2010-08-26 20:21:32] nick at nbilyk dot com 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 this bug report at http://bugs.php.net/bug.php?id=52709&edit=1