Re: .htaccess Logout
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.php archive

Re: .htaccess Logout

From: Janwillem Borleffs <jw@jwscripts.com>
Date: Mon Jan 02 2006 - 21:49:27 CET

Matthieu Ebert wrote:
> 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??
>

Only for FireFox, where you can send a URL with dummy values:

<a href="http://fake:fake@host.com">Log out</a>

Since the latest Windows service packs, this doesn't apply to IE anymore. If
the authentication is triggered by PHP, you could create a new realm, which
would force the users to enter their credentials again.

JW
Received on Tue Jan 3 03:52:19 2006