>
> $expires = "; expires=Thu, 1-Jan-1970 00:00:01 GMT" if ($id &&
!$initialid)
> ;
Your are right, this line doesn't see to make sense.
>
> If I try commenting this out, the expiry date is what I've
> set in EMBPERL_COOKIE_EXPIRES, and it works as I'd expect.
> However, obviously I suspect there's a reason that code was in
> there - I'm just not sure what it is, and a bit of playing
> with the code has not made it obvious...
>
As far as I see it's just a copy and paste error :-(
>
> HTML::Embperl::Req::SetupSession;
> my $udat = HTML::Embperl::Req::GetSession;
you need to pass the Apache req record here, because in the Auth handler,
the environment is not setup, so Embperl won't get the cookie. Replace the
above two lines with:
my $udat= HTML::Embperl::Req::SetupSession ($r) ;
where $r is the Apache object that's get passed to your handler
Hope this works now. I am leaving tomorrow morning for the ApacheCon, so I
maybe not able to answer any further question until I get back to some
email, which will be hopefully at thusday evening.
Gerald
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]