Browser History

A

Arne Garvander

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

Scott M.

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))
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,733
Messages
2,569,439
Members
44,829
Latest member
PIXThurman

Latest Threads

Top