Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Refresh tag not working, how come

Status
Not open for further replies.

RRinTetons

IS-IT--Management
Jul 4, 2001
333
US
I've got the statement

<meta http-equiv="Refresh" CONTENT="30">

in the <head> </head> section of a web page, but it doesn't force the refresh every 30 seconds like I understand it should.

The page displays real time weather information from remote sensors at several locations around the resort. The page will be displayed on machines without keyboards or workstations, so it needs to auto-update.

The web server is IIS, browser I'm testing with is IE 6.02 running under Windows XP. It will be deployed to be viewed on Mac's running OS 9 and Netscape.

Any suggestions as to why the update isn't happening?

Richard Ray
Jackson Hole Mtn Resort
Teton Village, WY
 
You're missing an attribute:

Code:
Attributes:
<meta http-equiv="Refresh" content="n;url">
	n is the number of seconds to wait before loading the specified URL.

url is an absolute URL to be loaded.
Examples:

<META HTTP-EQUIV="refresh" 
content="1;URL=http://internet-tips.net/About/about.htm">

    Load the file "[URL unfurl="true"]http://internet-tips.net/About/about.htm"[/URL] after waiting for one second

There's always a better way. The fun is trying to find it!
 
Funny, the docs I read said that leaving off the URL attribute would refresh the current page. I tried it both ways and it's not working even when I provide the URL.

Any other ideas?

Richard Ray
Jackson Hole Mtn Resort
Teton Village, WY
 
Where, on your computer, is the web page you're looking at? If it's not in the htdocs of of your web server than it will never refresh.

There's always a better way. The fun is trying to find it!
 
Check your browser settings, not sure about other browsers but this can be disabled in IE.

Tools > Internet Options > Security > Custom Level > Allow Meta Refresh

tviman,

As it's HTML, this would work anywhere as long as it's opened by a browser, whether on your desktop or on a server.

Hope this helps



Wullie


The pessimist complains about the wind. The optimist expects it to change. The leader adjusts the sails. - John Maxwell
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top