Account Manager 
Login ID    Password  
 
 Forgot your password?
home  » Customer Support
 
Customer Support
 
Top > Web Site Gadgets > Restricting Access to Your Web Site

Browser asks for password twice

Actually, it's the browser behavior that is causing this. Here's what is happening...

  1. You tell your browser to go to:

http://sample.com/password_directory

  1. The server tells your browser that authentication is required, and so the browser prompts for a password.
  2. The user types in the password.
  3. The server then redirects the browser to http://sample.com/password_directory/ (with a slash on the end), because the address is not actually valid without the trailing slash.
  4. With some browsers (most notably Internet Explorer), instead of continuing to provide the same authentication information it was already provided, sees the slash on the end of the directory name and thinks you've gone to a different web address and prompts you for the authentication information again.

In other words, it's a browser issue. Anyhow, one workaround to this issue is to always put the slash on the end when linking to the address and then all browsers (even Internet Explorer) will only prompt once.

Last updated July 16, 2004
[ Services | Reseller  | Privacy Policy | Terms of Service | Contact | Support  ]
Copyright © 1996 - 2020 iSparks, Inc, All Rights Reserved.