#8029 [Com]: Session loses variables, zero length session file

From: Date: Fri, 11 Oct 2002 13:54:04 +0000
Subject: #8029 [Com]: Session loses variables, zero length session file
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-22156@lists.php.net to get a copy of this message
ID: 8029 Comment by: andy.t@newmediacollective.com Reported By: dadman@brainsys.cz Status: Closed Bug Type: *Session related Operating System: Linux Redhat 6.2 PHP Version: 4.0.3pl1 New Comment: I have also experienced this problem, but only on a Windows 2000 Pro machine running Apache 1.3 and PHP 4.2.3. Session variables would be lost at random and the session file would be emptied. When I moved my application to RedHat 7.2, Apache 2 and PHP 4.2.2, I am yet to experience the problem after a week of development whereas on the Windows machine it would happen every 10 minutes or so. I am sorry I can't be more specific about the problem but it does seem to be random. If it helps my application is a simple web chat that calls the script every 5 seconds and relies on six session variables to identify the user and keep track of their status. Previous Comments: ------------------------------------------------------------------------ [2002-02-07 10:06:55] ftpd@iname.com Hello. I would like to ask him to go reopen this bug, because I go by the same problem. Seemingly without some reason, the data of the session disappear. I go ties the directory where the session files are stored and they don't simply exist more. I was already accompanying the moments from the creation of the file ties the hour that the same disappears. The times the process doesn't last more than 1 minute and other more than 10 min. I am using php 4. 1. 1, Apache 1. 3. 20, win98 SE 4. 1. 2222 (with all of the available updatings in the windowsupdate.microsoft.com). My lan works in speed of 10/100 Mbit. The file php. ini is one copies of the php. ini-dist, only with alterations in the path of the creation of the session files. The remaining continues original. The path is that d:/php/sessiondata. If possible I would like his help for the solution of this problem. Sorry for my terrible english. ------------------------------------------------------------------------ [2001-05-13 05:15:18] derick@php.net Hello, does this still happen with the latest release (4.0.5). If yes, please reopen this report. regards, Derick ------------------------------------------------------------------------ [2000-12-02 08:58:52] sas@php.net Well, if it is impossible to reproduce, then I don't see how we can help you. Suspending bug report. ------------------------------------------------------------------------ [2000-11-29 05:06:56] dadman@brainsys.cz We stores some objects and variables into sessions. Sessions are stored on disk in /tmp directory. Sometimes (absloutly radnom situation) problem occures with session. No objects are found in session. The session file goes to zero lenght and no other error is logged or displayed. It's impossible to reproduce this error. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=8029&edit=1

« previous php.bugs (#22156) next »