0
votes

how can i force the user to be logged off the IIS Active Directory Authentication?

clearing the session does not seem to do it, and it's not a complete log off unless i close ALL my browser windows..

is it even possible to do via code?

Thank you!

or can i set a time out on the authentication? it seems like right now i can login in once, close the application and come back to it hours later, and not have to put it my credentials again...

2

2 Answers

1
votes
0
votes

Do you use ActiveDirectoryMembershipProvider? You can try with

FormsAuthentication.SignOut();
FormsAuthentication.RedirectToLoginPage();