php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3325 Session management messing up
Submitted: 2000-01-26 17:30 UTC Modified: 2000-01-27 12:58 UTC
From: phill at gnu dot org Assigned:
Status: Closed Package: Misbehaving function
PHP Version: 4.0 Beta 3 OS: Debian GNU/Linux Frozen
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: phill at gnu dot org
New email:
PHP Version: OS:

 

 [2000-01-26 17:30 UTC] phill at gnu dot org
When concurrant entrances to the same session occur, each editing using a different registered variable, the standard /tmp file session storage seems to be plagued with race conditions and only a few of the concurrant sessions save their variables (probably all do but the file handle's position is messed up and overwritten by the others).

Some way of locking the /tmp session file would be useful. In the meantime I suppose SQL sessions would fix things.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-01-27 12:58 UTC] sas at cvs dot php dot net
File locking was fixed in the file handler of the session extension. Thanks for your report.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sat Oct 10 07:00:01 2026 UTC