anyone know why this isnt working for me?

if (isset($PHP_AUTH_USER) && isset($PHP_AUTH_PW)) {
        CheckCredentials($PHP_AUTH_USER,$PHP_AUTH_PW);
        unset ($PHP_AUTH_USER, $PHP_AUTH_PW);
} else if ($AuthAction) {
        auth($AuthAction);
};

If someone submits false credentials, the page keeps $PHP_AUTH_USER and $PHP_AUTH_PW, 
and won't allow another login attempt until the browser is closed. Is there another 
way to effectively "unset" the variables?

Thanks,

Jason Bell




Reply via email to