Bug #17846: Session randomly malfunctions

From: Date: Wed, 19 Jun 2002 18:05:26 +0000
Subject: Bug #17846: Session randomly malfunctions
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-11437@lists.php.net to get a copy of this message
From: fabian@ahrberg.se Operating system: Linux 2.4 kernel PHP version: 4.2.1 PHP Bug Type: Session related Bug description: Session randomly malfunctions When I run session_start() and let it create the sid in a cookie and store the session data in files the session works just wonderful! However, For no reason at all the session just dies. Upon investigating I've noticed that the cookie is still there as it should be, no diffrence from when the session worked, and the same session with its data is still there as a file. In 99/100 cases the session works as it should and then, way random, the cookie and the data on the server just can't seem to find eachother through the session system. At first I thought the problem was related to my session storage, I used to store the sessions in mysql, but when I tried to see if it dissapeared with files - it didn't. I can't reproduce the problem as I find it all random. It can happen anywhere at anytime when surfing the site im working with. When I send the sid as a part of the url I can't manage to reproduce the problem but maybe it's there as well, even if I don't think so. Sum: Sid stored in cookie + session -> works, almost always. Any ideas? -- Edit bug report at http://bugs.php.net/?id=17846&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=17846&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=17846&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=17846&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=17846&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=17846&r=support Expected behavior: http://bugs.php.net/fix.php?id=17846&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=17846&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=17846&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=17846&r=globals

« previous php.bugs (#11437) next »