Re: SetupSession

2001-08-27 Thread Gerald Richter
> Where is the method 'SetupSession' called from? > SetupSession is called at the start of each request, when session management is enabled. Gerald - To unsubscribe, e-mail: [EMAIL PROTECTED] For additi

SetupSession

2001-08-23 Thread Lukas Zapletal
Where is the method 'SetupSession' called from? My SessionX class is already done, but SetupSession is never called (and the new id cookie is never sent). Regards Lukas Zapletal [[EMAIL PROTECTED]] BACH systems Ltd. [www.bach.cz] web

Re: SetupSession (was: problems with using embperl sessions from a mod_perl handler)

2001-04-04 Thread Gerald Richter
> >Is it safe to call SetupSession even if the session may already >have been setup? > Embperl doesn't check if the session is already setup. Normaly that doesn't matter, but a second setup will reset the dirty flag of Apache::Session, so if you have change any data befor

Re: GetSession, SetupSession help

2000-11-07 Thread Gerald Richter
Hi Alex, > Thanks for the help...I think the register_cleanup solution may step in too > late in the request process... > > > > HTML::Embperl::Req::CleanupSession(); > > > > do not call CleanupSession here, Embperl will do it for you later. If you > > call CleanupSession here EMbperl doesn't have

Re: GetSession, SetupSession help

2000-10-26 Thread Gerald Richter
> Thanks for the help...I think the register_cleanup solution may step in too > late in the request process... > CleanupSession only writes the data and does some cleanup so the data doesn't stay in %udat for the next request of the same process. So register_cleanup is ok for that. (Of course i

Re: GetSession, SetupSession help

2000-10-26 Thread Gerald Richter
Hi, > > > sub handler { > my $r = shift; > my $udat = HTML::Embperl::Req::SetupSession($r); > # do stuff with udat, perhaps return denied, etc. > HTML::Embperl::Req::CleanupSession(); do not call CleanupSession here, Embperl will do it for you later. If you cal

GetSession, SetupSession help

2000-10-26 Thread Alex Schmelkin
Hi, Gerald, great new features GetSession, SetupSession, etc...we hacked together a version of this a few betas back, and we're happy to see that it's now integrated into Embperl. I have a few questions specific to my implemenation: We have a PerlAccessHandler which needs to grab