Re: New identification after an error...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux