perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin Thorpe <>
Subject Re: Losing $r->user between PerlFixupHandler and PerlLogHandler
Date Thu, 05 Jun 2008 14:21:57 GMT
Kevin Thorpe 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?
> thanks
Ah, found it! mod_php was destroying the contents of $r->user as it was 
trying to do authentication itself. Notes
here about the problem....

View raw message