Re: Unsetting PHP_AUTH_*

From: Date: Wed, 29 Jan 2003 14:12:29 +0000
Subject: Re: Unsetting PHP_AUTH_*
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-18171@lists.php.net to get a copy of this message
I've the variables $PHP_AUTH_USER and $PHP_AUTH_PW set and I want to unset them because I check if they're set or not in order to show the authentication dialog box. The unset command appears not to be working with them (even if I try doing unset($GLOBALS['PHP_AUTH_USER'])...) Any suggestion? Thanks a lot! -------------------- Well some time ago I tried to find solution too and lost. The problem, that the data (PHP_AUTH_USER/$PHP_AUTH_PW) stored in browser cache and browser send it again and again, even you change value of varibles. So if you'll find the way to clear browser cache you'll solve the problem. However, I use session varibles. It not good in all situations but...

« previous php.windows (#18171) next »