Can someone tell me how I can force re-authentication to log in a different user?
It seems that once I'm authenticated I'm recognized and will not be prompted again for
a password even on a refresh.
Thanks,
Blaine
if (!isset($_SERVER['REMOTE_USER'])) {
header( 'WWW-Authenticate: Basic realm="myrealm"' );
header( 'HTTP/1.0 401 Unauthorized' );
echo 'Authorization Required.';
exit;
} else {
$userid = $_SERVER['REMOTE_USER'];
echo "Your username is: $userid <br>";
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php