Meta Tag For Refresh Problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jackb
    New Member
    • Jul 2007
    • 10

    Meta Tag For Refresh Problem

    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?
  • hsriat
    Recognized Expert Top Contributor
    • Jan 2008
    • 1653

    #2
    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:[CODE=javascript]window.onload = function () {
    var x = setTimeout("loc ation.reload()" , 10000);
    }[/CODE]

    Comment

    Working...