#23245 [NEW]: session.autostart = 1 prevents session data retention accross page executions

From: Date: Wed, 16 Apr 2003 18:00:47 +0000
Subject: #23245 [NEW]: session.autostart = 1 prevents session data retention accross page executions
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-37768@lists.php.net to get a copy of this message
From: tim at gustnado dot com Operating system: Linux 7.3 / 8.0 / 9.0 PHP version: 4.3.2RC1 PHP Bug Type: Session related Bug description: session.autostart = 1 prevents session data retention accross page executions when php.ini session.autostart is set to 1 the session file is created in /tmp and keys can be registered via session_register() functions. data can be assigned to the keys using the super global array $_SESSION and access in the scope of the page execution. On the next access of the session, the keys are still registered, but the data is missing. The above issue occurs regardless of the use of session_start(). When session.autostart is set to 0, and the session_start() command is used, sessions work normally. -- Edit bug report at http://bugs.php.net/?id=23245&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=23245&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=23245&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=23245&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=23245&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=23245&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=23245&r=support Expected behavior: http://bugs.php.net/fix.php?id=23245&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=23245&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=23245&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=23245&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23245&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=23245&r=dst IIS Stability: http://bugs.php.net/fix.php?id=23245&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=23245&r=gnused

« previous php.bugs (#37768) next »