Logging off with 'Windows Authentication'

R

Rishi Chandra

Hi,

I want to know if there is a method to have a 'log
off'/'sign off' feature in a ASP.net application which
uses 'Windows Authentication' mode [basic].

[Ex: Similar to what we have in outlook's web interface]

The only way to do at present is to close the browser and
revisit the application.

Thanks,

-- rishi
 
T

Thomas Møller Jensen

Not really possible with ASP.NET Windows Authentication using Basic
Authentication as the authentication method. (There is lots of samples out
there that does it with forms authentication )

As you stated you could have the user close all browser windows. Its not
enough to just close the browser window with you site. This is because as
long as you have an instance of IE running its Authentication store is not
flushed. This also leads to the only way I know that you can do it without
closing the browser, but it requires the use of ActiveX. See for
http://support.microsoft.com/?id=195192 for how to flush the credentials
from IE without closing any browser windows.
 

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

Members online

No members online now.

Forum statistics

Threads
473,764
Messages
2,569,567
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top