php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #3827 synchronizing access to sessions
Submitted: 2000-03-14 07:35 UTC Modified: 2000-07-31 22:47 UTC
From: k at les dot cz Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 4.0 Latest CVS (14/03/2000) OS: RedHat Linux 6.1 (kernel 2.2.12)
Private report: No CVE-ID: None
 [2000-03-14 07:35 UTC] k at les dot cz
If I have an applicatin divided into two frames,
they share the same session and one frame sometimes 
overwrites session saved by another frame (it usually happens with netscape).

Do you have any idea how to avoid this problem?

I tried to lock the session file after session_start()
and release the lock before end of my script, but I'm 
not sure if this is a good solution (and if it's,
maybe PHP could provide some function for session locking).

Any ideas?

Thanks,

Pavel

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-31 22:47 UTC] waldschrott@php.net
No PHP bug report.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Tue Jun 16 15:00:02 2026 UTC