Re: Scope of Apache request object and Apache::Session scoping.

2003-10-01 Thread Perrin Harkins
On Wed, 2003-10-01 at 16:23, Matisse Enzer wrote: > 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 fini

Re: Scope of Apache request object and Apache::Session scoping.

2003-10-01 Thread Praveen Ray
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 co

Scope of Apache request object and Apache::Session scoping.

2003-10-01 Thread Matisse Enzer
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