[PHP] HT authentication question

2002-09-24 Thread Bob Irwin

G'day,

Is there a PHP function/method that destroys or expires a HT authentication
session?  So, for example, you're using a .htaccess file to control access
to a directory on a server, is there a way to destroy that session without
closing the browser window?

Best Regards
Bob Irwin
Server Admin  Web Programmer
Planet Netcom


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] HT authentication question

2002-09-24 Thread John Holmes

 Is there a PHP function/method that destroys or expires a HT
 authentication
 session?  So, for example, you're using a .htaccess file to control
access
 to a directory on a server, is there a way to destroy that session
without
 closing the browser window?

Quote from manual:

Both Netscape Navigator and Internet Explorer will clear the local
browser window's authentication cache for the realm upon receiving a
server response of 401. This can effectively log out a user, forcing
them to re-enter their username and password. Some people use this to
time out logins, or provide a log-out button.

---John Holmes...


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php