Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Security > Browser History

Reply
Thread Tools

Browser History

 
 
Arne Garvander
Guest
Posts: n/a
 
      09-24-2008
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.)
 
Reply With Quote
 
 
 
 
Scott M.
Guest
Posts: n/a
 
      09-25-2008
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.)



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using history.go() to get to the *last* item in the history Niall Javascript 3 12-06-2006 03:26 PM
Values entered in the Form disappears when using the history.go(-1) or history.back() sujith.bolar@gmail.com Javascript 2 10-17-2006 08:12 PM
Recover Firefox web search history with history set to 0 days Sudip Chakraborty Firefox 2 11-21-2005 06:47 PM
[ANN] irb-history 1.0.0: Persistent, shared Readline history for IRB Sam Stephenson Ruby 1 06-18-2005 08:56 AM
history.dat, formhistory.dat - deleting deletes history? S.Rodgers Firefox 4 05-05-2005 01:03 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57