Problem after logout

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vgoodpk
    New Member
    • Jul 2007
    • 2

    Problem after logout

    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
  • kenobewan
    Recognized Expert Specialist
    • Dec 2006
    • 4871

    #2
    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:
    Code:
    <meta http-equiv="PRAGMA" value="NO-CACHE"> or 
    Response.Expires = -1
    These should reload the page and check the session, as there is no cached version to go back to. HTH.

    Comment

    Working...