i m developing an application in asp.net/c#. when in my applcation i click on logout i m redirected to default page of my application, that is fine. but when i click on the back button of the browser (in my cas internet explorer) then those pages which loged in user opened before logging out those pages are again displayed, even though i have cleared and abondoned the sessions in my logout.aspx file. Please can anybody help me in this problem
Problem after logout
Collapse
X
-
I don't believe that you can disable the back button, so you left to find a workaround. There ways that I can think of are:
These should reload the page and check the session, as there is no cached version to go back to. HTH.Code:<meta http-equiv="PRAGMA" value="NO-CACHE"> or Response.Expires = -1
Comment