HTTP Authentication with PHP

From: Date: Thu, 17 May 2001 09:46:50 +0000
Subject: HTTP Authentication with PHP
Groups: php.general 
Request: Send a blank email to php-general+get-53194@lists.php.net to get a copy of this message
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

« previous php.general (#53194) next »