> You can't log out of http authentication. Close the browser is it. Not very secure, eh. Use a session based login method > if you need logout function.
Why not? Sending this to the client should do the job:
header('WWW-Authenticate: Basic realm="My Realm"');
header('HTTP/1.0 401 Unauthorized');
HTH, Stas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

