Re: AuthenHandler talking to ErrorDocument
[prev]
[thread]
[next]
[Date index for 2005/01/26]
David Dorward wrote:
> Currently I have an AuthenHandler that (amazingly enough) handles
> authentication for a group of webpages. An ErrorDoctype directive points
> users who haven't logged in, or who failed to login to a login form.
>
> I'd like to be able to display a message to user who failed to login
> explaining the reason that the authentication failed. I've tried to use
> the notes() method of the Apache::Request object (using
> Apache::Request->instance) to create it). However, the note doesn't seem
> to be passed on to the handler for the ErrorDocument (on a successful
> login it is passed onto the content handler for the protected area of
> the site).
>
> What is the accepted way to pass a message from the AuthenHandler to the
> ErrorDocument?
my $notes = ($r->prev || $r)->notes;
HTH
--Geoff
 |
 |
Re: AuthenHandler talking to ErrorDocument
Geoffrey Young 15:38 on 26 Jan 2005
|