browser cached page?

Last post 05-23-2007 1:52 PM by KBTibbs. 2 replies.

Sort Posts:

  • browser cached page?

    05-21-2007, 5:26 PM
    • Member
      243 point Member
    • KBTibbs
    • Member since 05-16-2007, 4:22 PM
    • Boise, ID
    • Posts 122

    I'm building a smallish forms authenticated site that will soon be online for my employers customers to use.  There is nothing sensitive about the information per se, but none the less we still want to restrict access to only our customers.  Anyway, my question is... When I log off the test site, I can use my browser's back button to get back into the last page I was at on the site.  I can't click any links (the forms authentication kicks me back to the login page), and no real functionality is available without being authenticated...but it just looks cheesy.  Since the onLoad event isn't checking my authentication credentials, I'm pretty sure it's just a copy of the page in the local cache.

    Now, if this were for me, I'd leave it.   It's just a local browser cache of the page and it's not going to hurt anything...  However, I'm developing this for the company I work for, and I don't want this to look like a second rate site.

     Anyway, I was wondering if anyone here had some thoughts on the matter.

    Cached page:  Does it matter?  Is it a security problem, or is it at worst a situation where a user gets prompted to log in when they thought that they were.
    Performance:  Is it possible for me to instruct visiting browsers to not cache my site?  Is that worth it on a semi image heavy site?
    Any more creative ideas?
     

    Thanks a bunch,

     

    KBTibbs 

  • Re: browser cached page?

    05-23-2007, 2:37 AM
    Answer

    Hi

    Cached page, which is always a hindrance, when you logout to the website.

    I suggest you set Expires to a head of pages, For more information, please view this link, Preventing Page Review after Logout with Forms Authentication
     
    http://aspalliance.com/694

    This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.

    Hope it helps

     

    Best Regards
    XiaoYong Dai
    Microsoft Online Community Support

    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
  • Re: browser cached page?

    05-23-2007, 1:52 PM
    • Member
      243 point Member
    • KBTibbs
    • Member since 05-16-2007, 4:22 PM
    • Boise, ID
    • Posts 122

     Thank you very much.  I'll read through that and see if I can't get this to work. Smile

     

    Edit: That seems to have done the trick!  Thanks! 

     

     

Page 1 of 1 (3 items)