>
>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 before and don't change any dat
> -Original Message-
> From: Gerald Richter [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, March 29, 2001 3:47 PM
> To: Michael Stevens; [EMAIL PROTECTED]
> Subject: Re: problems with using embperl sessions from a mod_perl
> handler
>
>
> >
> > $expire
>
> $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 ther
> -Original Message-
> From: Gerald Richter [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, March 28, 2001 8:00 PM
> To: Michael Stevens; [EMAIL PROTECTED]
> Subject: Re: problems with using embperl sessions from a mod_perl
> handler
>
>
> >
> > [Wed
>
> [Wed Mar 28 13:09:46 2001] [error] Can't locate object method
"getinitialid"
> via package "HTML::Embperl::Session" at
> /opt/perl5.004_04/lib/site_perl/HTML/Embperl.pm line 1798, chunk
31.
>
This is a bug in 1.3.1. It is corrected in the current CVS version. I append
you a mail which contai
Hi.
I'm trying to use embperl sessions from a mod_perl
authentication handler (subclass of Apache::AuthCookie).
My code looks like this:
sub touch_session {
my $r = Apache->request or die "no request";
HTML::Embperl::Req::SetupSession($r);
## do some stuff with sessions
# call GetSessio