I have configured mod_auth_pam for Apache and secured a directory with an
.htaccess file:

  AuthType Basic
  AuthName "Secure Area"
  require group staff
  require user chris

Now, I would like to control the local browser window's authentication cache
via PHP. For example, how do I clear the cache of a browser window thereby
forcing the user to log back in? I have tried:

Header( "WWW-authenticate:  basic  realm="Secure Area");
Header( "HTTP/1.0  401  Unauthorized");

but this isn't clearing the cache.

Regards,
Chris



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to