Answered by:
LogOut problem

Question
-
User775076809 posted
how i logout in asp.net web forms.
Sunday, June 29, 2014 7:04 AM
Answers
-
User541108374 posted
Hi,
if you're using forms authentication, you didn't specify which form of authentication you're making use of, then it's like this:
FormsAuthentication.SignOut(); Response.Redirect("~/Default.aspx");
Grz, Kris.
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Sunday, June 29, 2014 7:34 AM -
User-1818759697 posted
Hi,
For this situation, you could try to refer to the following information about Forms Authentication:
http://www.asp.net/web-forms/tutorials/security/introduction/an-overview-of-forms-authentication-cs
http://msdn.microsoft.com/en-us/library/aa288576(v=vs.71).aspx
Regards
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Monday, June 30, 2014 11:28 PM
All replies
-
User541108374 posted
Hi,
if you're using forms authentication, you didn't specify which form of authentication you're making use of, then it's like this:
FormsAuthentication.SignOut(); Response.Redirect("~/Default.aspx");
Grz, Kris.
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Sunday, June 29, 2014 7:34 AM -
User-1818759697 posted
Hi,
For this situation, you could try to refer to the following information about Forms Authentication:
http://www.asp.net/web-forms/tutorials/security/introduction/an-overview-of-forms-authentication-cs
http://msdn.microsoft.com/en-us/library/aa288576(v=vs.71).aspx
Regards
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Monday, June 30, 2014 11:28 PM