perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin Thorpe <ke...@pricetrak.com>
Subject Re: Losing $r->user between PerlFixupHandler and PerlLogHandler
Date Thu, 05 Jun 2008 13:41:40 GMT
Vegard Vesterheim wrote:
> On Thu, 5 Jun 2008 12:25:17 +0100 Kevin Thorpe <kevin@pricetrak.com> wrote:
>
>   
>> Hi, I have just upgraded from Apache1 to Apache2 and I am now having
>> problems with logging to my database.
>>
>> I am using AuthCookie and AuthCookieDBI for logging in. AuthCookie
>> sets $r->user in the PerlFixupHandler.
>> However reading $r->user in PerlLogHandler doesn't always return the
>> user set in the previous handler.
>>
>> Can anyone shed any light on why the RequestRec is losing the user name?
>>     
>
> I encountered a similar problem some time ago. Have a look at this
> thread, maybe your problem is related:
>
> http://marc.info/?l=apache-modperl&m=119996305532711&w=2
>
>   
Nope, $r->main and $r->prev are both empty and $r->is_initial_req == 1

now I'm really baffled

Mime
View raw message