quetz-mod_python-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gregory (Grisha) Trubetskoy" <gri...@apache.org>
Subject Re: FileSession.py - improved? version
Date Tue, 12 Apr 2005 02:31:36 GMT

On Mon, 11 Apr 2005, Jim Gallacher wrote:

> There will still be a race condition when session locking is off, but at 
> least the integrity of the session files is preserved. This race condition 
> should be noted in the forthcoming documentation though.

Why not when locking is oh retain the lock for the duration of the request 
and when locking is off only retain it for the duration of the read/write 
operation? A documented race condition doesn't sound like a good idea :-)

Grisha

Mime
View raw message