Re: New identification after an error...

From: Date: Fri, 20 Jan 2006 15:32:56 +0000
Subject: Re: New identification after an error...
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-228955@lists.php.net to get a copy of this message
> David BERCOT wrote: > > I've tried : > > $_SERVER["PHP_AUTH_USER"] = NULL; > > without succes... > > http://www.php.net/unset > > e.g. unset($_SERVER['PHP_AUTH_USER']); > > It might, however, be better practice to used an authorisation state > variable, or something similar, i.e. > > if (! $auth) { > // HTTP Headers > } OK. Thank you very much. David.

« previous php.general (#228955) next »