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:40E98E69-D318-4371-B5F9-...
> 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.)
|