Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Ways to force a page refresh?
- Dave Boland
May 10, 2007, 6:24 pm
rate this thread
temperature sensors. The displayed readings don't change
much over time, so what I would like to do is to force a
page refresh only when the data changes by 5% or more, or
when the temperature is over a limit.
So far my options seem to be frequent page refreshes using a
meta tag, or using Java. The meta tags are a fixed time
interval and may be too frequent (or not frequent enough),
and the Java may be a problem because some companies have
some strict Java rules to security. Any other ideas?
Re: Ways to force a page refresh?
See this article:
The only way to make HTML to load a page is to let an user load a page or use
meta tag to reload in an interval, or send a http-header that tells the
down time to force the browser to reload the page.
A server can't just send a page to someone without request (of course it
could, but no browser would get the data).