Justtechjobs.com Find a programming school near you






Online Campus Both


php-db | 2000121

[PHP-DB] Forcing logout From: halim (halim <email protected>)
Date: 12/12/00

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