> 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
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
>
>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
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
> 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
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
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