#33142 [NEW]: Session info not getting saved correctly

From: Date: Wed, 25 May 2005 16:57:15 +0000
Subject: #33142 [NEW]: Session info not getting saved correctly
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-79493@lists.php.net to get a copy of this message
From: jkump at everestgt dot com Operating system: Solaris 9 PHP version: 5.0.4 PHP Bug Type: Session related Bug description: Session info not getting saved correctly Description: ------------ When using session_start() and coming into the page a second time. The $_SESSION[] information is not getting saved correctly. When returing to the page in an appropriate amount of time the session_start functions says the node no lionger exists. Works correctly in php 4.3.11 but not in 5.0.4 Reproduce code: --------------- <?php session_start(); if (!$_SESSION["foo"]) { $_SESSION["foo"] = 45; } else { print "found\n"; } ?> Expected result: ---------------- secnd time called should say found. Actual result: -------------- Get warning messages about node no longer valid. -- Edit bug report at http://bugs.php.net/?id=33142&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=33142&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=33142&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=33142&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=33142&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=33142&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=33142&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=33142&r=needscript Try newer version: http://bugs.php.net/fix.php?id=33142&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=33142&r=support Expected behavior: http://bugs.php.net/fix.php?id=33142&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=33142&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=33142&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=33142&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=33142&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=33142&r=dst IIS Stability: http://bugs.php.net/fix.php?id=33142&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=33142&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=33142&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=33142&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=33142&r=mysqlcfg

« previous php.bugs (#79493) next »