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?

--
David Dorward




Reply via email to