Re: clear HTTP authentication data ?

From: Date: Tue, 02 Jan 2001 20:09:03 +0000
Subject: Re: clear HTTP authentication data ?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-32321@lists.php.net to get a copy of this message
This can be done by denying access to the user - simply create a page that returns "HTTP/1.0 401 Unauthorized" in the headers. The next time a protected page on the site is visited, it should require re-auth. I've never tested this but I've heard it talked about; keep us updated if you have any problems. Toby Butzon [ criticism spurs improvement ] ----- Original Message ----- From: "Peter Troll" <pt@fastmail.ca> To: <php-general@lists.php.net> Sent: Monday, January 01, 2001 9:55 PM Subject: [PHP] clear HTTP authentication data ? : Hi, : : Is it possible to get rid of authentication data passed by the browser without having to close it down ? I have secured part of a site using basic HTTP authentication and I would like to add a "Log off" button so that at the next request for protected files users would have to authenticate again. : : Regards & happy new year : : : -- : PHP General Mailing List (http://www.php.net/) : To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net : For additional commands, e-mail: php-general-help@lists.php.net : To contact the list administrators, e-mail: php-list-admin@lists.php.net : :

« previous php.general (#32321) next »