#24129 [Opn->Bgs]: Session randomly fails
ID: 24129
Updated by: sniper@php.net
Reported By: brian dot diekelman at andrews dot af dot mil
-Status: Open
+Status: Bogus
Bug Type: Session related
Operating System: Win2k
PHP Version: 4.3.2
New Comment:
Where does it say that setting session.gc_maxlifetime to 0 would give
should behaviour? It's just what is says _maximum_
lifetime of session, 0 means it's always cleaned whenever
the random cleaning happens.
Expected behaviour -> not bug.
Previous Comments:
------------------------------------------------------------------------
[2003-06-11 10:32:44] brian dot diekelman at andrews dot af dot mil
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 this bug report at http://bugs.php.net/?id=24129&edit=1
Thread (4 messages)