I have a Master Page that contains a LoginStatus control. Obviously some (but not all) of my pages are protected and therefore automatically send you to the login page if you are not logged in when you try to request them. If I go to one of the protected pages, login, and then click Logout...
I have a Web Application that uses ASP.NET Membership. When the user logs out, I want the Forms Authentication cookie to be removed from the browser. This is basically automatic when the user did not select the Remember Me checkbox (because a session cookie is created in that case), but if they...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.