Forcing logout
| From: | halim | Date: | Tue, 12 Dec 2000 07:57:59 +0000 |
| Subject: | Forcing logout | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-5175@lists.php.net to get a copy of this message | ||
I have some problem authentication with PHP, how can I force a user to logout (pressing logout
button) and clear credential info without displaying logon screen again. Right now when user click
logout button then Logon screen appears again. Code (logout.php) :
<?
Header( "WWW-authenticate: Basic realm=\"RBTC\"");
Header( "HTTP/1.0 401 Unauthorized");
?>
Can anyone help me. Thanks in advance.
Halim