php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #13887 session data lost on virtual server
Submitted: 2001-10-31 10:42 UTC Modified: 2001-12-31 06:27 UTC
From: mark dot gebhart at balcab dot ch Assigned:
Status: Closed Package: Session related
PHP Version: 4.0.6 OS: Linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: mark dot gebhart at balcab dot ch
New email:
PHP Version: OS:

 

 [2001-10-31 10:42 UTC] mark dot gebhart at balcab dot ch

The problem is that PHP is not saving the session file properly befor the server process is terminated.  The problem ony occurs when a server process terminates (like if
the server's "keepalive" setting expires, or if the HTTP 1.0 protocol is being used [1.0 doesn't support keepalive]).  Because of the way we run our virtual
servers, keepalive has no effect (the server processes terminate after each request) so the session bug shows up _every_ time.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-12-10 10:11 UTC] sas@php.net
The write handler is called upon the end of the request, which takes place regardless of keep-alive support in a web-server. Please supply a more accurate description of what you are seeing.
 [2001-12-31 06:27 UTC] lobbin@php.net
No feedback. Closing.
 [2003-03-19 11:13 UTC] roland at lichti dot de
Please check http://cms.lichti-edv.de/about.php and monitor the PHPSESSID. It keeps changing all the time. The configuration is shown on the same page.

If you have further questions, please ask them. Another note: no, I'm not able to install the CVS-version since that is a more or less production system and until I really get an explanation why the update should solve my problem it is not feasable to update it.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Oct 07 07:01:26 2024 UTC