I have a page that when you press 'log out' it will redirect to the login.aspx
page which has a Page_Load
method which calls FormsAuthentication.SignOut()
.
The master page displays the 'log out' link in the top right of the screen and it displays it on the condition that Page.User.Identity.IsAuthenticated
is true
. After stepping through the code however, this signout method doesn't automatically set IsAuthenticated
to false
which is quite annoying, any ideas?