Re: Shared data in module / sharing %session

2003-10-16 Thread Simon Dassow
On 16 Oct 2003 17:43:14 -0400 Perrin Harkins <[EMAIL PROTECTED]> wrote: > On Thu, 2003-10-16 at 16:42, Simon Dassow wrote: > This is probably because Apache::Session locks until it gets > destroyed, and globals never get destroyed. Doh... ok, now i know, thanks :) > > My current solution is to st

Re: Shared data in module / sharing %session

2003-10-16 Thread Perrin Harkins
On Thu, 2003-10-16 at 16:42, Simon Dassow wrote: > I want to have %session to be shared in a module. > With ``use vars qw(%session);'' it doesnt seem to work (Apache is blocking > after a few requests). This is probably because Apache::Session locks until it gets destroyed, and globals never get d

Shared data in module / sharing %session

2003-10-16 Thread Simon Dassow
Hi Pe(rlers|ople), I want to have %session to be shared in a module. With ``use vars qw(%session);'' it doesnt seem to work (Apache is blocking after a few requests). My current solution is to store the reference via ``$r->pnotes("SESSION_DATA"=>\%session);'' and save $r into $self so the other met