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. Advertisements

  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. Advertisements

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. =?Utf-8?B?RWFybCBUZWlncm9i?=

    Does session cookie persist when after session times out?

    =?Utf-8?B?RWFybCBUZWlncm9i?=, Jul 28, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    755
    Mike Newton
    Jul 28, 2004
  2. Replies:
    8
    Views:
    773
  3. sunkrajesh
    Replies:
    0
    Views:
    524
    sunkrajesh
    May 31, 2009
  4. Satish Appasani

    Clean the session history after logging out

    Satish Appasani, Apr 12, 2004, in forum: ASP .Net Web Controls
    Replies:
    1
    Views:
    256
    Joerg Jooss
    Apr 12, 2004
  5. Jazzis
    Replies:
    2
    Views:
    437
    Jazzis
    Sep 23, 2003
  6. Sam Stephenson
    Replies:
    1
    Views:
    419
    Andrew Walrond
    Jun 18, 2005
  7. Replies:
    2
    Views:
    647
    nutso fasst
    Oct 17, 2006
  8. Niall
    Replies:
    3
    Views:
    350
    Niall
    Dec 6, 2006
Loading...