how would you write a meta tag to refresh...

F

FireBrick

the viewers computer at say 60 minutes after he connected to the site.
I have a website that refreshes the weather data every 30 minutes.
Consequently if the person leaves the site open, he will not see the latest
data unless he refreshes.

Can it be done.

Please and thank you.
 
T

Tom Pepper Willett

To reload the page:

Add the refresh content into your head tags....

<HEAD>
<META HTTP-EQUIV=REFRESH CONTENT=5>
</HEAD>

CONTENT=5 means wait for 5 seconds to reload the page. Put what you want.
--
===
Tom "Pepper" Willett
Microsoft MVP - FrontPage
---
About FrontPage 2003:
http://office.microsoft.com/home/office.aspx?assetid=FX01085802
FrontPage 2003 Product Information:
http://www.microsoft.com/office/frontpage/prodinfo/default.mspx
Understanding FrontPage:
http://msdn.microsoft.com/office/understanding/frontpage/
===

| the viewers computer at say 60 minutes after he connected to the site.
| I have a website that refreshes the weather data every 30 minutes.
| Consequently if the person leaves the site open, he will not see the
latest
| data unless he refreshes.
|
| Can it be done.
|
| Please and thank you.
|
| --
|
|
| -----------------------------------------------------
| An optimist thinks that this is the best possible world. A pessimist
fears
| that this is true.
| -----------------------------------------------------
|
| Bill H. in Chicagoland
|
|
 
F

FireBrick

Thanks, I was aware of that refresh system
http://mywebpages.comcast.net/w9ol/WX/HH.htm

As you will see, the page sort of stays the same, it's the gifs that get
refreshed.
In fact, the .html isn't even uploaded, just new gifs.
Consequently, most of it would be wasted refreshing.
The gifs are only updated every half hour or so.

What I need, is for the .html to recognize that the gifs were uploaded or
changed and have
that trigger a refresh event.

Sorry to bother you.
 
?

=?Windows-1252?Q?Rob_Giordano_\=28Crash_Gordon=AE\

isn't the webcam already forcing a refresh every 2 seconds? dunno...just curious.

is that the back of your head bobbing around? :)

-.-
 
T

Thomas A. Rowe

The issue is that once the page is loaded in the browser, the browser doesn't check back with the
server, unless force to do by the user clicking on a link or meta refresh triggers it a new request
to the server, so the page in a browser has no way of knowing that a new images has been uploaded.

You would have to use a Java or ActiveX component to do this.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WebMaster Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 
F

FireBrick

DAT B ME

But no, the webcams are separate, they are live streaming in a Flash. swf
file
The actual web page works AROUND them.

It's the gifs that are more or less static for 30 minutes.
The Weather software automagically makes the gifs based on the data from the
Weather sensors.

That's why I want to refresh the page....IF and only if the gifs have
changed.


in message isn't the webcam already forcing a refresh every 2 seconds? dunno...just
curious.

is that the back of your head bobbing around? :)

-.-
 
T

Thomas A. Rowe

If you don't want the whole page to be refreshed, then insert a IFrame and load the page with just
the GIF image in the IFrame, with the meta refresh set to every 30 minutes.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WebMaster Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top