Clean the session history after logging out

Discussion in 'ASP .Net' started by Satish Appasani, Apr 12, 2004.

  1. am developing a web application using Forms Authentication. User is logged
    out using FormsAuthentication.SignOut().

    After logging out, ifthe user clicks Back button in the browser, the user is
    still able to see the previous page contents untill he refreshes the page or
    clicks on any link.

    How can i clean the entire session on the client machine?

    Thank you.

    Satish
     
    Satish Appasani, Apr 12, 2004
    #1
    1. Advertising

  2. Satish Appasani

    coollzh Guest

    you can try
    Response.Cache.SetExpires(DateTime.Now.AddSeconds(0))

    "Satish Appasani" <> дÈëÏûÏ¢ÐÂÎÅ
    :...
    > am developing a web application using Forms Authentication. User is logged
    > out using FormsAuthentication.SignOut().
    >
    > After logging out, ifthe user clicks Back button in the browser, the user

    is
    > still able to see the previous page contents untill he refreshes the page

    or
    > clicks on any link.
    >
    > How can i clean the entire session on the client machine?
    >
    > Thank you.
    >
    > Satish
    >
    >
    >
     
    coollzh, Apr 12, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    8
    Views:
    523
  2. Satish Appasani

    Clean the session history after logging out

    Satish Appasani, Apr 12, 2004, in forum: ASP .Net Web Controls
    Replies:
    1
    Views:
    148
    Joerg Jooss
    Apr 12, 2004
  3. Sam Stephenson
    Replies:
    1
    Views:
    238
    Andrew Walrond
    Jun 18, 2005
  4. Replies:
    2
    Views:
    348
    nutso fasst
    Oct 17, 2006
  5. Niall
    Replies:
    3
    Views:
    178
    Niall
    Dec 6, 2006
Loading...

Share This Page