On 5/2/06, Michael Lackhoff <[EMAIL PROTECTED]> wrote:
I followed the advice from this list and wrote mod_perl
authentification- and authorization handlers to move this task from my
application to apache.
But now I have the problem that for this kind of authentification there
is no 'logout' functionallity. How do others handle this problem?
The best I could come up with was a tweak to the authentification
handler that gives back an 401 error to everyone for the location
/myapp/logout and then write my own error document for this location
saying "Logout successful" or something like that. But still the user
gets the pop up box from the browser to reauthentificate. Any better
ideas?

The only way to get the browser to popup another authentication box is
to send a different realm with the authentication request.  But there
is no way to tell the browser to 'forget' the username and password
that the user typed in.  This is one of the main reasons why so many
people use cookie or URL based authentication schemes, since basic
authentication is so limited.

Check out Apache::AuthCookie for an apache module that uses cookie
based authentication.

Cheers,

Cees



My second question is really off topic but perhaps someone can give me
a short hint. I need a pair of multiple select boxes where one can move
entries from one box to the other by clicking on an arrow button.
There are some scripts out there that do what I want but I would prefer
not to include many little script files to my application but rather do
such stuff with the help of the big libraries like prototype and
scriptaculous that I need anyway and that are well maintained. Does
anyone know a solution based on one of these (or similar) libraries?

Thanks,
Michael


---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/[email protected]/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/[email protected]/
             http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to