By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,886 Members | 1,107 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,886 IT Pros & Developers. It's quick & easy.

Meta Tag For Refresh Problem

jackb
P: 10
Hello there.

I have a webpage that need to reload every 10 seconds, so I have put a meta tag:
<meta http-equiv="refresh" content="10">

Now this seems to work ok.

Now the problem is that my application requires to be monitored most time of the day and some users have reported that the refresh thing stops working after some time in the day.

So is there any problem in the meta refresh so that if it is allowed to refresh for many hours then at some time it stops working and the page don't reload?

Is it a browser problem?

Is there any work around for this?
Jul 17 '08 #1
Share this Question
Share on Google+
1 Reply


hsriat
Expert 100+
P: 1,654
I never ran into any such thing, but I think meta refresh should work always.

If you want to try the JavaScript alternative, then here it is:
Expand|Select|Wrap|Line Numbers
  1. window.onload = function () {
  2.     var x = setTimeout("location.reload()", 10000);
  3. }
Jul 17 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.