G
Guest
Logout question
I use a session to store the login information, say Session("Login") = success
and use page_load to test the session("Login") success or not
say If Session("Login") <> success then response.redirect("LoginPage.aspx")
But when i use logout to set Session("Login") = "" then redirect to LoginPage,
the user click BACK button of the browser, the asp.net will not run the
page_load event
, so i can't check the Session("Login"), what can do this?
I use a session to store the login information, say Session("Login") = success
and use page_load to test the session("Login") success or not
say If Session("Login") <> success then response.redirect("LoginPage.aspx")
But when i use logout to set Session("Login") = "" then redirect to LoginPage,
the user click BACK button of the browser, the asp.net will not run the
page_load event
, so i can't check the Session("Login"), what can do this?