Basic Auth: force browser to ask password again
Posted on 2002-06-14
I'm a Chinese programmer in Singapore, in need of expert advice.
First let me describe "Basic Auth" because it is known by many names to many people. (Skip to "The Problem" if you know what I mean.) If I protect a URL with HTTP Basic Authentification (through .htaccess in Apache), then the browswer will pop up a dialog box requesting password whenever someone accesses the URL.
[ The Problem ] How to force browser to request credential again. Once a credential is accepted, browser will send it to other URL's on the same site. The only way to force browser to pop up the dialog box is: close the browser and restart a new browser.
Browser used: MSIE 5