Subject: | Errant error messages, interaction with Apache::AuthCookieDBI |
ache::AuthCookie.pm 3.06
Apache::AuthCookieDBI.pm 1.19 (but probably applies to later versions aswell)
perl 5.8.5
NetBSD nsa.uninett.no 2.0 NetBSD 2.0 (GENERIC)
Apache::AuthCookie supplies the method recognize_user():
"If the user has provided a valid session key but the document isn't
protected, this method will set $r->connection->user
anyway. Use it as a PerlFixupHandler, unless you have a better idea."
This method calls Apache::AuthCookieDBI->authen_ses_key, which issues error messages when the Cookie is not acknowledged. But the document is not protected, so no error message should be issued. Could possibly be solved by an extra parameter 'ignore_errors' to the authen_ses_key method. Will report this in Apache::AuthCookieDBI aswell.