From: brian dot diekelman at andrews dot af dot mil Operating system: Win2k PHP version: 4.3.2 PHP Bug Type: Session related Bug description: Session randomly fails
This is a dupe of bugs #17846, #19029, #19972. I wanted to update the version and circumstances. For the most part everything works fine, then randomly the session will fail. In my php.ini the max_gc_lifetime (don't know exact spelling) is set to 0 (on browser close). Everything else is set to the standard settings. This is an annoying bug because it's hard to isolate it. I have heard some theories of the cookie prematurely expiring, two sessionid's in the cookie, etc. I tried the latest CVS this morning on my test server and the error is still present. It is not a problem with my code, all I have is a session_start() and $_SESSION["username"] at the top of every page to check if the session exists. I do not have any custom session handler and pretty much have a standard install for Win32 (AF doesn't let us use Linux). Any ideas?? -- Edit bug report at http://bugs.php.net/?id=24129&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=24129&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=24129&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=24129&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=24129&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=24129&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=24129&r=support Expected behavior: http://bugs.php.net/fix.php?id=24129&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=24129&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=24129&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=24129&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24129&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=24129&r=dst IIS Stability: http://bugs.php.net/fix.php?id=24129&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=24129&r=gnused