note 16103 added to features.http-auth

From: Date: Tue, 16 Oct 2001 16:21:16 +0000
Subject: note 16103 added to features.http-auth
Groups: php.notes 
Request: Send a blank email to php-notes+get-18991@lists.php.net to get a copy of this message
If you want to implement logout/relogin functionality using the 401-Unauthorized header, beware of the following strage behaviour: <br>If, after logging in and out, you try to RElogin, you get the prompt to input your user ID and password. If you click Cancel now, you get your Authorization required, BUT the $PHP_AUTH_USER and $PHP_AUTH_PW are NOT deleted (at least not with my NS4) as should be the case after receiving a 401. Instead, if you manually reload the page, you're logged in again... If anyone knows a workaround, I'd appreciate it if you'd let me know. -- http://www.php.net/manual/en/features.http-auth.php http://master.php.net/manage/user-notes.php?action=edit+16103 http://master.php.net/manage/user-notes.php?action=delete+16103 http://master.php.net/manage/user-notes.php?action=reject+16103

« previous php.notes (#18991) next »