You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Per Eric Rosén <pe...@rosnix.nu> on 2003/09/12 14:48:39 UTC

Re: Apache::AuthCookie causing strange "Use of uninitialized value."

Thanks for your response!

> You have to subclass Apache::AuthCookie. This should be something like:
> PerlFixupHandler Your::Sublass->recognize_user

Well, I do. I just pasted the wrong text (from the 2002 mail).
The actual configuration snippet is:

<Location />
        AuthType TAS::Cookie
        AuthName TAS
        PerlFixupHandler TAS::Cookie->recognize_user
</Location>

Another observation: It does only appear when no cookie is received.
When users are logged in, everything is fine. And, yes, I checked
recognize_user and put in a defined() around the cookie check. No result.
Even a bad cookie (manually deleting the session) makes it quiet.

/Per Eric
--
^): Per Eric Rosén http://rosnix.nu/~per/
/   per@rosnix.nu  GPG 7A7A BD68 ADC0 01E1 F560 79FD 33D1 1EC3 1EBB 7311