page refresh

G

Guest

What is the best way to ensure that the viewer is seeing the most updated
version of your webpage or website withough having to count on them clicking
the refresh button? I have been using <meta http-equiv="expires" content =
"0">
but I'm not really sure this is the best way to do it.

Thanks,
D
 
P

P@tty Ayers

D said:
What is the best way to ensure that the viewer is seeing the most updated
version of your webpage or website withough having to count on them
clicking
the refresh button? I have been using <meta http-equiv="expires" content
=
"0">
but I'm not really sure this is the best way to do it.

My understanding is that none of these work all the time, but here's what I
use:

<meta http-equiv="cache-control" content="no-cache">
 
G

Guest

Thanks for your help!

P@tty Ayers said:
My understanding is that none of these work all the time, but here's what I
use:

<meta http-equiv="cache-control" content="no-cache">
 
D

dj001

What is a good code to cause the page to automatically refresh every 60
seconds? Please make sure this works for a page that has top and left
borders.

D said:
Thanks for your help!
 
K

Kathleen Anderson

How to automatically refresh a page or redirect to another page?

In HTML view, add the following to the Head section:

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


The value given to 'content' is the number of seconds before the refresh
will take place; the value given to 'URL' is the page you want your visitor
sent to. You may also want to include a text link to the page in case your
visitor's browser does not support the 'refresh'.

--

~ Kathleen Anderson
Microsoft MVP - FrontPage
Spider Web Woman Designs
Expression Web Resources: http://www.spiderwebwoman.com/xweb/
FrontPage Resources: http://www.spiderwebwoman.com/resources/
Please reply to the newsgroup for the benefit of others



dj001 said:
What is a good code to cause the page to automatically refresh every 60
seconds? Please make sure this works for a page that has top and left
borders.
 
D

dj001

Are you sure that refreshes every 60 seconds? How would I adjust it to 30
seconds?

Kathleen Anderson said:
How to automatically refresh a page or redirect to another page?

In HTML view, add the following to the Head section:

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


The value given to 'content' is the number of seconds before the refresh
will take place; the value given to 'URL' is the page you want your visitor
sent to. You may also want to include a text link to the page in case your
visitor's browser does not support the 'refresh'.

--

~ Kathleen Anderson
Microsoft MVP - FrontPage
Spider Web Woman Designs
Expression Web Resources: http://www.spiderwebwoman.com/xweb/
FrontPage Resources: http://www.spiderwebwoman.com/resources/
Please reply to the newsgroup for the benefit of others



dj001 said:
What is a good code to cause the page to automatically refresh every 60
seconds? Please make sure this works for a page that has top and left
borders.
 
K

Kathleen Anderson

content="6 will refresh every 6 seconds; you need to change it to
content="30

--

~ Kathleen Anderson
Microsoft MVP - FrontPage
Spider Web Woman Designs
Expression Web Resources: http://www.spiderwebwoman.com/xweb/
FrontPage Resources: http://www.spiderwebwoman.com/resources/
Please reply to the newsgroup for the benefit of others



dj001 said:
Are you sure that refreshes every 60 seconds? How would I adjust it to 30
seconds?

Kathleen Anderson said:
How to automatically refresh a page or redirect to another page?

In HTML view, add the following to the Head section:

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


The value given to 'content' is the number of seconds before the refresh
will take place; the value given to 'URL' is the page you want your
visitor
sent to. You may also want to include a text link to the page in case
your
visitor's browser does not support the 'refresh'.

--

~ Kathleen Anderson
Microsoft MVP - FrontPage
Spider Web Woman Designs
Expression Web Resources: http://www.spiderwebwoman.com/xweb/
FrontPage Resources: http://www.spiderwebwoman.com/resources/
Please reply to the newsgroup for the benefit of others
 
D

dj001

OK, it refreshes after the first 30 seconds now. However, it only refreshes
once. How do I get it to refresh after EVERY 30 seconds?

Kathleen Anderson said:
content="6 will refresh every 6 seconds; you need to change it to
content="30

--

~ Kathleen Anderson
Microsoft MVP - FrontPage
Spider Web Woman Designs
Expression Web Resources: http://www.spiderwebwoman.com/xweb/
FrontPage Resources: http://www.spiderwebwoman.com/resources/
Please reply to the newsgroup for the benefit of others



dj001 said:
Are you sure that refreshes every 60 seconds? How would I adjust it to 30
seconds?
 

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