WebForms cached in Temporary Internet Files?

Discussion in 'ASP .Net' started by =?Utf-8?B?RG9uYWxk?=, Sep 30, 2004.

  1. How do I prevent I WebForm from being cached in the "Temporary Internet
    Files" folder on the client computer?

    The web form is displayed in a popup modal dialog (window.showModalDialog).
    If the client closes the popup modal window and re-displays the web form
    again, I want the page to be retreived from the server instead of the
    temporary internet files folder.

    Here's what I've tried (and it didn't work of course):

    1. I tried adding buffer="false" on the web form: <%@ Page language="c#"
    Codebehind="LockInfo.aspx.cs" AutoEventWireup="false"
    Inherits="LienReleasePortal2.LockInfo" buffer="False"%>. That didn't work.

    2. On the IIS server, I set the "Enable Content Expiration" properties of
    the web form to "Expire Immediately". That didn't work.

    Any thoughts?

    Donald.
     
    =?Utf-8?B?RG9uYWxk?=, Sep 30, 2004
    #1
    1. Advertising

  2. just a thought
    try using <META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
    HTH
    srini

    "Donald" wrote:

    > How do I prevent I WebForm from being cached in the "Temporary Internet
    > Files" folder on the client computer?
    >
    > The web form is displayed in a popup modal dialog (window.showModalDialog).
    > If the client closes the popup modal window and re-displays the web form
    > again, I want the page to be retreived from the server instead of the
    > temporary internet files folder.
    >
    > Here's what I've tried (and it didn't work of course):
    >
    > 1. I tried adding buffer="false" on the web form: <%@ Page language="c#"
    > Codebehind="LockInfo.aspx.cs" AutoEventWireup="false"
    > Inherits="LienReleasePortal2.LockInfo" buffer="False"%>. That didn't work.
    >
    > 2. On the IIS server, I set the "Enable Content Expiration" properties of
    > the web form to "Expire Immediately". That didn't work.
    >
    > Any thoughts?
    >
    > Donald.
     
    =?Utf-8?B?c3Jpbmk=?=, Oct 1, 2004
    #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. Norton
    Replies:
    6
    Views:
    1,906
    Norton
    Jun 10, 2004
  2. Juan T. Llibre
    Replies:
    4
    Views:
    648
    Nicolás Castagnet
    Jan 13, 2005
  3. Craig G
    Replies:
    0
    Views:
    402
    Craig G
    Mar 7, 2005
  4. Replies:
    5
    Views:
    773
    Juan T. Llibre
    Jan 26, 2007
  5. Tim Golden
    Replies:
    0
    Views:
    699
    Tim Golden
    Apr 19, 2010
Loading...

Share This Page