Re: Perl*Handlers and Embperl Sessions

2001-10-29 Thread Andrew O'Brien
On Tue, Oct 30, 2001 at 03:56:13AM +, alan milligan wrote: > I am curious though. I have experimented with the Apache::is_main() > function over the last few days, and can't quite figure it out. I would > have presumed that this would indicate a direct GET/POST request as opposed > to a

Re: Perl*Handlers and Embperl Sessions

2001-10-29 Thread alan milligan
O'Brien <[EMAIL PROTECTED]> >To: alan milligan <[EMAIL PROTECTED]> >Subject: Re: Perl*Handlers and Embperl Sessions >Date: Mon, 29 Oct 2001 18:19:32 +1100 >MIME-Version: 1.0 >Received: from [202.7.89.204] by hotmail.com (3.2) with ESMTP id >MHotMailB

Re: Perl*Handlers and Embperl Sessions

2001-10-29 Thread Gerald Richter
Hi, > HTML::Embperl::Req::SetupSession($req_rec); > my %udat = HTML::Embperl::Req::GetSession; > > if (exists $udat{user}) { > GetSession returns a reference to hash, so you have to write: my $udat = HTML::Embperl::Req::GetSession; if (exists $udat->{user}) { but you don'

Perl*Handlers and Embperl Sessions

2001-10-28 Thread alan milligan
Hi, I am attempting to write a mod_perl handler to get invoked before the PerlHandler which is HTML::Embperl. One of my Embperl scripts sets up a 'user' object in %udat which needs to be retrieved and authenticated in the PerlAuthzHandler of each request. However, I am having a lot of problem