|
Posted by Rob McAninch on 01/02/06 21:54
Matthieu Ebert>:
> how can I , as a Site User (Visitor) when i loged in with .htaccess logout
> myself again without closing my browser. Do you know any solutions in PHP ,
> send a Header or something.
Is this a site you want to give users the ability to logout from, or
do you want to logout from someone else's site?
You can't control someone else's site, so just close your browser.
Or perhaps your browser has an option to forget authentication
information.
If this is your site you want the feature for. Try
http://www.php.net/features.http-auth
But you may be better off using a more robust login method than
basic authentication. Typically these involve cookies with a session
id that times out.
--
Rob McAninch
http://rock13.com
Navigation:
[Reply to this message]
|