[CLOSED] Load Fresh Page In iFrame...

  1. #1

    [CLOSED] Load Fresh Page In iFrame...

    Is there anyway to make sure a fresh (non-cached) page is being loaded in an iFrame from ext.net? I tried adding the following to no avail in the actual iFrame page...

     
    Response.Expires = -1;
    Response.AddHeader("Pragma", "no-cache");
    Response.AddHeader("cache-control", "no-store");
    Last edited by geoffrey.mcgill; Aug 03, 2010 at 11:41 PM.
  2. #2
    usually, this works for me:

            Response.AddHeader("Pragma", "no-cache");
            Response.Cache.SetCacheability(HttpCacheability.NoCache);
    Are you sure you are reloading the iframe?
  3. #3
    Well, actually it's when I close the window and re-open (with .hide, .show). So technically it's just being hidden again. I'm not sure if ext is reloading the iFrame.
  4. #4
    Should I just add a handler to the .show, event to refresh the iFrame in the ext window?
  5. #5
    there's an ReloadOnEvent="true" property on AutoLoad. You should just use that.

Similar Threads

  1. [CLOSED] Stop treepanel to load data on page load
    By inayath in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Feb 11, 2011, 10:17 AM
  2. [CLOSED] How to use an IFrame to load a page without a panel or window?
    By flormariafr in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Jun 02, 2010, 5:21 PM
  3. how to load data to grid panel in page load
    By andylaiyongsing in forum 1.x Help
    Replies: 1
    Last Post: Apr 16, 2010, 10:27 AM
  4. [CLOSED] How to load a page using an IFrame istead of a panel?
    By flormariafr in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: Mar 24, 2010, 6:27 PM
  5. Replies: 3
    Last Post: Feb 03, 2010, 10:11 AM

Posting Permissions