How to auto refresh a webpage ?

  • Thread starter Thread starter nzedsurfer
  • Start date Start date
N

nzedsurfer

I have a situation where my 7 year old daughter is putting together her
own webpage for her school project with the help of Dad, showing our
travels with family in Malaysia.

www.amadeus.net.nz/alanna.htm

The problem is that the page needs to be refreshed each time someone
views it to get the latest information...ie her school mates
How can I set it up to auto refresh so that viewers dont have to
manually refresh the browser each time ?

Thanks
NZed
 
Add this to the <head> section of your page:

The URL is the page you want it to refresh to, content is the number of
seconds you want it to wait before refreshing, and http-equiv="refresh" just
tells it that this is the refresh meta tag. For example, if you wanted the
page to refresh to www.sitename.com after 5 seconds it would be as follows:

<meta http-equiv="refresh" content="5; URL=http://www.sitename.com/">

Substitute your absolute or relative URL.
--
===
Tom "Pepper" Willett
Microsoft MVP - FrontPage
---
FrontPage Support:
http://www.frontpagemvps.com/

About FrontPage 2003:
http://office.microsoft.com/home/office.aspx?assetid=FX01085802
===


|I have a situation where my 7 year old daughter is putting together her
| own webpage for her school project with the help of Dad, showing our
| travels with family in Malaysia.
|
| www.amadeus.net.nz/alanna.htm
|
| The problem is that the page needs to be refreshed each time someone
| views it to get the latest information...ie her school mates
| How can I set it up to auto refresh so that viewers dont have to
| manually refresh the browser each time ?
|
| Thanks
| NZed
|
 
Hi Tom
I have tried this
<meta http-equiv="pragma" content="no-cache">
Which seems to work but doesnt seem to update my data in the Alannas
photos page www.amadeus.net.nz/alannaphotos.htm

Would this be because it contains a webbot that needs to be refreshed.

The other pages seem to work but not the photo gallery.?

Looking forward to your reply
NZed
 
Hi Tom
I have tried this
<meta http-equiv="pragma" content="no-cache">
Which seems to work but doesnt seem to update my data in the Alannas
photos page www.amadeus.net.nz/alannaphotos.htm

Would this be because it contains a webbot that needs to be refreshed.

The other pages seem to work but not the photo gallery.?

Looking forward to your reply
NZed
 
I admit I havnt tried Toms solution yet...my concerns would be if the
refresh every so many seconds would become annoying to the reader ?
I just want to make sure the reader each time they visit the site has
the latest information when they visit.

So would I be correct in thinking that Toms code would become annoying
to readers refreshing so often ?

NZed
 
Yes
IMHO
5 seconds is way too short and any timed refresh is not necessary

And some users (like from AOL) will always get their ISP host cached pages no matter what you do

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
_____________________________________________


|I admit I havnt tried Toms solution yet...my concerns would be if the
| refresh every so many seconds would become annoying to the reader ?
| I just want to make sure the reader each time they visit the site has
| the latest information when they visit.
|
| So would I be correct in thinking that Toms code would become annoying
| to readers refreshing so often ?
|
| NZed
|
 
Back
Top