How to log out of asp.net app using Windows Auth NOT Forms Auth

E

Ed Staffin

Hi I have a intranet app that is using Windows authentication.
I want to set up a log out procedure that takes them to a page where they
can choose to log back in. In FormsAuth I did this using:
FormsAuthentication.SignOut()
Response.Cookies.Clear()
Session.Abandon()
And if the user chose to log back in I just did:
FormsAuthentication.RedirectToLoginPage()

How can do I do the equivalent of FormsAuthentication.SignOut() when I am
using Windows Authentication? Also, once I make whatever call it is to log
out, will they automatically get a sign in dialog when they subsequently try
to access a page?
Thanks ... Ed
 

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,755
Messages
2,569,536
Members
45,015
Latest member
AmbrosePal

Latest Threads

Top