Problem with PHP_AUTH_USER

From: Date: Mon, 15 Dec 2003 09:16:02 +0000
Subject: Problem with PHP_AUTH_USER
Groups: php.db 
Request: Send a blank email to php-db+get-32038@lists.php.net to get a copy of this message
Hi! Here is the problem: How can I unset the $PHP_AUTH_USER when the user clicks "logout"? The authentication works very well except the log out. I tried: session_destroy(); unset($_SERVER['PHP_AUTH_USER']) and in the next line I did: print $PHP_AUTH_USER; and the value is still there. How can I unregister this variable so that the authentication window appears again. I'm using apache 2.0.40, php 4.2.2 compiled as a module, RedHat Linux 9.0. Register globals is On. TIA Constantin Brinzoi.

« previous php.db (#32038) next »