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,969
Messages
2,570,161
Members
46,710
Latest member
bernietqt

Latest Threads

Top