Need help on Automatic Page Refresh..
Hi
I need some clarification on page refresh feature on HTML pages.
At present I have included a meta tag for automatic page refresh as
I want to know whether this tag will be activated after every 15 seconds, when user has kept the browser open for quite a long time without loading, maximizing, minimising..etc.
for examle ; if I keep open " a site page" open in the browser for 4-5 hours without reloading the page. But i might have made changes in the html file. So after 4 hours if i see the page whether the changes have been reflected.
thanks
Renegade posted this at 07:54 — 2nd December 2002.
He has: 3,022 posts
Joined: Oct 2002
i'm not sure about how that tag works but if it does refresh every 15 seconds then it probably would show the changes
webby_111 posted this at 12:56 — 2nd December 2002.
They have: 6 posts
Joined: Sep 2002
Hi
What's the ideal page refresh time can be used in html.
thanks
FunkyJ posted this at 13:42 — 2nd December 2002.
They have: 37 posts
Joined: Nov 2002
You could also try use javascript to refresh the page. (more logic and calculation can be done)
Suzanne posted this at 15:27 — 2nd December 2002.
She has: 5,507 posts
Joined: Feb 2000
First of all, lets look at WHY you're wanting to force a page refresh. If it's a part of a coding process for something like a chat application, then you'll want to do this in the script or program, not in the HTML.
If it's for another reason (page has been moved), you'll probably want to look at using .htaccess instead of the meta refresh.
I can't think of a good reason to use meta-refresh unless you don't have access to server-side processing.
ROB posted this at 18:14 — 10th December 2002.
They have: 447 posts
Joined: Oct 1999
add the no cache headers if you want to pull a fresh copy every refresh...
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Expires" content="-1">
<meta http-equiv="Cache-Control" content="no cache">
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.