Jump to content

Recommended Posts

Posted

I am not sure how to do this...........I have created a page that will be updated almost everyday for the next month. When folks visit the page I would like it to reload automatically so that they are able to get the updated page without only getting what is cached..........so I am wondering what codeing do I put in my source to make this happen. The page I am talking about can be found here: Nest box 2 page

 

As always, thanks!

 

Dallara

 

------------------------

GiffsFarm

Posted

Hi Dallara.

The Meta Refresh tag will do it for you.

 

<!-- Refresh page after 0 seconds -->

<meta http-equiv="refresh" content="0" />

 

h**p://en.wikipedia.org/wiki/Meta_refresh for information.

 

Hope that helps.

Posted (edited)

Thanks Jim...........I only just thought about this since I went to the page on my address bar drop down and it had the previous info, I had to click "reload" for it to give what I had added this morning. I went ahead and added the meta code you replied with but it keeps trying to reload without stoping, so I changed it back.

 

Thanks-

Dallara

Edited by dallara
Posted

Dallara,

 

You could create a script with a variable set to 0. When the variable is zero, the script would refresh the page, and then add one to the variable. Since the variable is no longer 0, the page would stop refreshing.

 

Maybe not the best solution to your problem, but it is one that I think would work.

Posted

You might try

<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">

<META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">

or

<meta http-equiv="Expires" content="-1">

 

just a guess.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...