Re: [PHP] Unsetting PHP_AUTH_USER

2002-05-07 Thread Rasmus Lerdorf
You don't unset the variable. The variable comes from your browser sending an Authenticate http request header, so as long as the browser sends this header, the variable is going to get created. The way to unset it is then to stop the browser from sending this Authenticate header. Currently the

[PHP] Unsetting PHP_AUTH_USER

2002-05-07 Thread Mark Virtue
I'm having a devil of a time trying to "unset" the built-in global $PHP_AUTH_USER. My aim is to have a "logout" button. Obviously the first thing to try is unset($PHP_AUTH_USER). No good - when I refresh the page it's back. Then I tried unset($_SERVER['PHP_AUTH_USER']) - same deal. I also t