How do u make IE uncache basic authentication information???

  • Thread starter Thread starter Chris Newby
  • Start date Start date
C

Chris Newby

I have a site that is using Basic authentication to validate users against
an NT domain. The site has a "log off" feature, however without forcing the
browser window to close, I don't know how to make the browser "uncache" the
user's credentials. Ideally, the process flow would work as follows:

- User requests a page from a secure part of the site
- User is asked to submit credentials
- User is validated and allowed into secure part of site
- User clicks "logoff" and is directed to an unsecured log off page
- User requests a page from a secure part of the site
- The process iterates

As of now, in the log off page I've tried sending an HTTP status of "401"
and i've tried sending a "WWW-AUTHENTICATE" HTTP header. But neither has
thus far had the desired effect.

Any suggestions are welcome.

TIA//
 
Thanks Ollie, that works great in IE, but is there anything you know of for
Netscape as well?
Also, is it me or is it strange that the HTTP spec doesn't include a header
to uncache credentials?

TIA//
 
Sorry nothing for Netscape, when I was looking at this it was for a
requirement for IE browser only.

As for a requirement in the HTTP spec don't hold your breath :)


--
HTH

Ollie Riches
http://www.phoneanalyser.net


Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
I do not answer questions on behalf of my employer. I'm just a programmer
helping programmers.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top