Browser History

Discussion in 'ASP .Net Security' started by Arne Garvander, Sep 24, 2008.

  1. 1. I display sensitive information in the browser
    2. I log out.
    3. I go to some other site.
    4. I type the url of the page used in step 1. It is displayed from the
    browser cache.
    How do I prevent this from happening?
    My bank's website does not have this problem.

    --
    Arne Garvander
    (I program VB.Net for fun and C# to get paid.)
    Arne Garvander, Sep 24, 2008
    #1
    1. Advertising

  2. Arne Garvander

    Scott M. Guest

    When you want a page to be delivered from your server "fresh" each time and
    not cached, you can simply set the Response.Cache property to a value in the
    past.

    Response.Cache.SetExpires(DateTime.Now.AddSeconds(-60))


    "Arne Garvander" <> wrote in message
    news:...
    > 1. I display sensitive information in the browser
    > 2. I log out.
    > 3. I go to some other site.
    > 4. I type the url of the page used in step 1. It is displayed from the
    > browser cache.
    > How do I prevent this from happening?
    > My bank's website does not have this problem.
    >
    > --
    > Arne Garvander
    > (I program VB.Net for fun and C# to get paid.)
    Scott M., Sep 25, 2008
    #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. Steve C. Orr, MCSD

    Re: Browser-History-Back Button

    Steve C. Orr, MCSD, Aug 15, 2003, in forum: ASP .Net
    Replies:
    4
    Views:
    2,183
    mathieu cupryk
    Aug 16, 2003
  2. =?Utf-8?B?Um9i?=
    Replies:
    3
    Views:
    14,517
    Steven Cheng[MSFT]
    Jan 21, 2004
  3. Sam Stephenson
    Replies:
    1
    Views:
    217
    Andrew Walrond
    Jun 18, 2005
  4. Replies:
    2
    Views:
    280
    nutso fasst
    Oct 17, 2006
  5. Niall
    Replies:
    3
    Views:
    157
    Niall
    Dec 6, 2006
Loading...

Share This Page