Problem with unset($PHP_AUTH_USER );

From: Date: Tue, 03 Apr 2001 14:15:19 +0000
Subject: Problem with unset($PHP_AUTH_USER );
Groups: php.general 
Request: Send a blank email to php-general+get-46815@lists.php.net to get a copy of this message
I use a login script with the header() function and $PHP_AUTH_USER etc. the problem is once i've logged in once ,i refresh the page i stay logged in. i want to do testing with different privileges so i want to be asked for a username and password each time i've refreshed the page.I thought unset($PHP_AUTH_USER) right after i check the db would work but it doesn't.I've also tried varieties of ways to avoid caching the page as well but nothing seems to work.this i know is a damn simple problem. but it's driving me a bit nuts.i even tried emptying my temp internet files but to no avail. what's going on? thanx a

« previous php.general (#46815) next »