php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8029 Session loses variables, zero length session file
Submitted: 2000-11-29 05:06 UTC Modified: 2001-05-13 05:15 UTC
From: dadman at brainsys dot cz Assigned:
Status: Closed Package: Session related
PHP Version: 4.0.3pl1 OS: Linux Redhat 6.2
Private report: No CVE-ID: None
 [2000-11-29 05:06 UTC] dadman at brainsys dot 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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-12-02 08:58 UTC] sas@php.net
Well, if it is impossible to reproduce, then I don't see how we can help you. Suspending bug report.
 [2001-05-13 05:15 UTC] derick@php.net
Hello,

does this still happen with the latest release (4.0.5). If yes, please reopen this report.

regards,
Derick
 [2002-02-07 10:06 UTC] ftpd at iname dot 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.
 [2002-10-11 08:54 UTC] andy dot t at newmediacollective dot com
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.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 16:01:31 2024 UTC