Submit Your Article Forum Rules

Results 1 to 3 of 3

Thread: How do I force the page to refresh from the server?

  1. #1

    How do I force the page to refresh from the server?

    Hi,

    I want my page to refresh from the server every time - but somehow it still seems to get cached.

    I have the following HTML:

    <META http-equiv=expires content="Wed, 14 Jul 2004 00:00:00 GMT">
    <meta http-equiv="Pragma" content="no-cache">


    What else do I need to force a refresh?

    TIA.

  2. #2
    Senior Member ADAM Web Design's Avatar
    Join Date
    Dec 2003
    Posts
    2,172
    I usually find that the best (and often only) way to get a true refresh is to use server-side code to prevent caching.

    Here's an ASP sample:
    Code:
    Response.Expires = 0
    Response.Expiresabsolute = Now() - 1
    Response.AddHeader "pragma","no-cache"
    Response.AddHeader "cache-control","private"
    Response.CacheControl = "no-cache"

  3. #3
    I also have a page that I need to be refreshed each time it is opened. Could someone go into depth as to how to do this. I am a newbie and don't have any what to do.

    Thanks

    Bman

Similar Threads

  1. The frequency of page refresh
    By Simon Young in forum Google Discussion Forum
    Replies: 4
    Last Post: 04-02-2010, 08:25 PM
  2. Close a child page and refresh parent page
    By getmea in forum Web Programming Discussion Forum
    Replies: 16
    Last Post: 02-06-2010, 11:19 PM
  3. Q. How can I force my Microsoft Systems Management Server (
    By WPW_Feedbot in forum IT Discussion Forum
    Replies: 0
    Last Post: 02-25-2005, 04:30 PM
  4. Refresh page automatically on arrival
    By Milo in forum Web Programming Discussion Forum
    Replies: 1
    Last Post: 01-28-2005, 06:33 PM
  5. How can I force browsers to auto refresh ?
    By simplyeasier in forum Graphics & Design Discussion Forum
    Replies: 2
    Last Post: 02-25-2004, 06:53 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •