Bug #17846 Updated: Session randomly malfunctions

From: Date: Thu, 20 Jun 2002 02:50:38 +0000
Subject: Bug #17846 Updated: Session randomly malfunctions
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-11479@lists.php.net to get a copy of this message
ID: 17846 Updated by: yohgaki@php.net Reported By: fabian@ahrberg.se -Status: Open +Status: Feedback Bug Type: Session related Operating System: Linux 2.4 kernel PHP Version: 4.2.1 New Comment: It could be browser's fault. I noticed my IE6 sends 2 cookies for the same cookie name, and PHP couldn't initilize session as a result. And this is _very_ rare. Check what is going on with packet sniffer when it happenned. It may be browser's fault. Previous Comments: ------------------------------------------------------------------------ [2002-06-19 14:05:25] fabian@ahrberg.se 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 this bug report at http://bugs.php.net/?id=17846&edit=1

« previous php.bugs (#11479) next »