[thelist] JS: Un-caching a window's HTTP authentication

Martin Kuplens-Ewart martin at takingitglobal.org
Sun Jun 3 12:47:19 CDT 2001


>I'm wondering if anyone knows how to use JS (or any other trick) to get

>IE
>to ditch the HTTP authentication details it is using (username,
password), 
>and pop up a new login box. Effectively a "logout" button/link.

Sure. Easy. Send a 401 header to the browser... Now, if I could only
remember what the syntax was... 

[eg: what you'd do is have the logout link go to a login page or
whatever, where the line or so before the <html> tag were the
appropriate header() tag... 

-martin





More information about the thelist mailing list