Question Page not refreshing after logging out with LoginStatus

njsokalski

Well-known member
Joined
Mar 16, 2011
Messages
102
Programming Experience
5-10
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 (which is what is displayed by the LoginStatus control while I am logged in), it logs me out and updates the LoginStatus control, but the rest of the pages stays the same, even if I click refresh on the browser. I have the LogoutAction of the LoginStatus set to Refresh, so I would expect it to send me to the login page, since I am no longer logged in, but instead it continues to display the page as if I had never logged out. I am guessing that all this has something to do with the difference between how and when the controls determine whether you are logged in, but since all of this is done using the Login Controls, what do I need to change? Thanks.
 
Back
Top