perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoffrey Young <ge...@modperlcookbook.org>
Subject Re: Disconnection from basic auth
Date Wed, 22 Aug 2007 20:04:35 GMT


Matthieu FEREYRE wrote:
> I use a basic authentification (Apache2::Access) wich works fine, but my 
> question is :
> How do I disconnect users ?

the short answer is that you can't.  this is why you don't see popup
authentication anywhere anymore :)

try a simple module like Apache::AuthCookie:

  http://search.cpan.org/dist/Apache-AuthCookie

read through the pod in AuthCookie.pm and you'll find:

"When you determine that the client should stop using the
credentials/session key, the server can tell the client to delete the
cookie. Letting users "log out" is a notoriously impossible-to-solve
problem of AuthBasic."

HTH

--Geoff

Mime
View raw message