PC Review


Reply
Thread Tools Rate Thread

How to auto refresh a webpage ?

 
 
nzedsurfer@hotmail.com
Guest
Posts: n/a
 
      2nd Nov 2005
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

 
Reply With Quote
 
 
 
 
Tom Pepper Willett
Guest
Posts: n/a
 
      2nd Nov 2005
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/off...tid=FX01085802
===


<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
|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
|


 
Reply With Quote
 
nzedsurfer@hotmail.com
Guest
Posts: n/a
 
      2nd Nov 2005
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

 
Reply With Quote
 
nzedsurfer@hotmail.com
Guest
Posts: n/a
 
      2nd Nov 2005
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

 
Reply With Quote
 
David Berry
Guest
Posts: n/a
 
      2nd Nov 2005
Tom meant to use the META tag to refresh the page for you every x seconds.
Your META tag deals with caching. Take Tom's code snippet and for the URL
just put the name of the page.

See http://www.net-sites.com/sitebuilder...ts/script6.asp for more
samples

--
David Berry - MCP
Microsoft MVP - FrontPage
FrontPage Support: http://www.frontpagemvps.com/
-----------------------------------
To assist you in getting the best answers for FrontPage support see:
http://www.frontpagemvps.com/FrontPa...3/Default.aspx
-----------------------------------

<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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
>



 
Reply With Quote
 
David Berry
Guest
Posts: n/a
 
      2nd Nov 2005
See my previous reply

--
David Berry - MCP
Microsoft MVP - FrontPage
FrontPage Support: http://www.frontpagemvps.com/
-----------------------------------
To assist you in getting the best answers for FrontPage support see:
http://www.frontpagemvps.com/FrontPa...3/Default.aspx
-----------------------------------

<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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
>



 
Reply With Quote
 
nzedsurfer@hotmail.com
Guest
Posts: n/a
 
      2nd Nov 2005
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

 
Reply With Quote
 
Stefan B Rusynko
Guest
Posts: n/a
 
      2nd Nov 2005
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/FrontPa...3/Default.aspx
_____________________________________________


<(E-Mail Removed)> wrote in message news:(E-Mail Removed)...
|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
|


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy Excel functions formula and auto refresh refresh Pauline Cheong Microsoft Excel Worksheet Functions 3 16th Feb 2009 01:23 AM
Refresh Excel Webpage dbaxter Microsoft Excel Discussion 0 19th Sep 2005 11:12 PM
Old Webpage & Refresh ma Windows XP Internet Explorer 8 27th May 2005 02:06 PM
Refresh Webpage =?Utf-8?B?U2NvdHQ=?= Microsoft Access Forms 0 12th May 2005 07:24 PM
How to Refresh my WebPage ? Eddie Microsoft ASP .NET 4 17th May 2004 10:04 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:04 AM.