note 7560 deleted from header by ronabop

From: Date: Fri, 11 Aug 2000 15:17:59 +0000
Subject: note 7560 deleted from header by ronabop
Groups: php.notes 
Request: Send a blank email to php-notes+get-1167@lists.php.net to get a copy of this message
I use header('WWW-Authenticate: Basic realm="Protected Area"'); header('HTTP/1.0 401 Unauthorized'); to authenticate, so it sets the variables $PHP_AUTH_USER... but i would like to logout without closing the browser. It means resetting these variables (that are stored in the browser cache) but neither unset( $PHP_AUTH_USER) nor $PHP_AUTH_USER=""; works for me. Any solution?? Thanks very much PS : i use this in IE5

« previous php.notes (#1167) next »