Re: $PHP_AUTH_USER

From: Date: Fri, 18 Aug 2000 16:52:10 +0000
Subject: Re: $PHP_AUTH_USER
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-12501@lists.php.net to get a copy of this message
Bas, I believe if you resend the authentication headers it will clear the $PHP_AUTH_USER and $PHP_AUTH_PW variables and kick up the login again: > header('WWW-Authenticate: Basic realm="something"'); > header('HTTP/1.0 401 Unauthorized'); Try this out and see if it is what you are looking for. -- Dominic Bas Jochems wrote: > > Hi, > > I'm using $PHP_AUTH_USER and $PHP_AUTH_PW for authentication. Is there a > way to reset the values of these two variables WITHOUT closing the > browser? > > thanks in advance > > Bas > > -- > 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 (#12501) next »