Re: PHP 4.0 Bug #3827: synchronizing access to sessions

From: Date: Tue, 14 Mar 2000 13:50:58 +0000
Subject: Re: PHP 4.0 Bug #3827: synchronizing access to sessions
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-16786@lists.php.net to get a copy of this message
On Tue, Mar 14, 2000 at 12:35:30PM -0000, k@les.cz wrote: > From: k@les.cz > Operating system: RedHat Linux 6.1 (kernel 2.2.12) > PHP version: 4.0 Latest CVS (14/03/2000) > PHP Bug Type: Feature/Change Request > Bug description: synchronizing access to sessions > > 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? What do you mean by overwrite? Do registered variables disappear? - Sascha

« previous php.dev (#16786) next »