Good Question. Does $r get freed after every request? In any case, best is to install a PerlCleanupHandler and set untie %$session in it.
On Wed, 2003-10-01 at 16:23, Matisse Enzer wrote: > In answer to another question Perrin Harkins <[EMAIL PROTECTED]> wrote: > > > I suggest you go over the code where you use the session hash very > > carefully and make sure it goes out of scope at the end. > > I'm sticking a reference to the session hash in the Apache request object: > > $r->pnotes($auth_name => \%session ); > > This is under mod_perl 2 > > I'm doing this in the belief that the request object goes out of > scope when Apache finishes handling the request, is this correct?