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. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php