[mod_python] Session variables

Gregory (Grisha) Trubetskoy grisha at modpython.org
Mon Apr 19 00:03:50 EST 2004

On Sun, 18 Apr 2004, Terry MacDonald wrote:

> There is a quirk where the req.session.unlock() needs to be called to
> release the session for the following handler. I thought this would have
> been done in the session code, so could be a bug. The docs state
> themselves that lock and unlock are unlikely to be called by apps,
> however, I have found this not usually the case.

Starting with 3.1.3 it _is_ done - the session registers a cleanup to
unlock itself. What version of mod_python are you using?

Here a link to the relevant code in CVS:



Thanks for the example!


More information about the Mod_python mailing list