I'm working on some pages where the user is required to authenticate.
If the user fails to enter the correct login & password 3 times, they are
redirected to reset_pass.php where they can reset their password. After completing that form their password is reset and they are redirected back to the original page they came from.
Here's where I don't know what to do...
Using Netscape 4.7 - when I redirect back to the original page, the first thing the user sees is a "Authorization Failed. Retry?" login dialog box (not good) and there is a blank screen behind the dialog box (another not good). If you fill out the login & password entries then you get the page you should see as a result of the redirection.
Using Internet Explorer - The redirect doesn't work, the reset_pass.php page looks like it just refreshes and all the fields are cleared.
I'm using the following for the redirection:
<script language="Javascript">
document.location.href="http://domain.com/reset_pass.php";
</script>
This would be very confusing to the user. Can anyone tell me what I need to do to clean this up?
Thanks
-Tim