Re: New identification after an error...
| From: | David Grant | Date: | Fri, 20 Jan 2006 14:31:11 +0000 |
| Subject: | Re: New identification after an error... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-228943@lists.php.net to get a copy of this message | ||
David
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
}
David
--
David Grant
http://www.grant.org.uk/