reload and refresh a page in MSIE

T

Tom Hanley

I want to be able to force a refresh regardless of settings in clients IE
cache setting. I would like do this with a hyperlink on my page.
 
S

Steve Easton

Do you want to periodically refresh a page that's already
open, or ensure that the page is always downloaded from
the server instead of pulled out of the browser cache files??


--
95isalive
This site is best viewed..................
...............................with a computer
I want to be able to force a refresh regardless of settings in clients IE
cache setting. I would like do this with a hyperlink on my page.
 
C

chris leeds

I think that if the hyperlink's target is the same as the page it's on that
the effect will be to refresh that page.
you may run into a little bit of trouble with aol and other isp's "cache
server" feeding the viewers a page that they've saved.
If this is the case you may want to make the link that serves to refresh the
page contain an empty parameter to try to prevent this. no big deal, you'd
just make the hyperlink something like:
this_is_the_page.htm?
HTH
 
T

Tom Hanley

option #2... ensure that the page is always downloaded from
the server instead of pulled out of the browser cache files
 
S

Steve Easton

add the following meta tag to the head section
of the page:
<meta http-equiv="expires" content="-1">


--
95isalive
This site is best viewed..................
...............................with a computer

option #2... ensure that the page is always downloaded from
the server instead of pulled out of the browser cache files
 
C

chris leeds

not really my trick. I think it was a Kevin Spencer trick. I was having
problems with one of my customer's lunch menu not reflecting changes made on
it to aol users. one of the other tricks (that doesn't involve using asp to
custom write the headers) is to rename the file with cgi in it like so:
this_is_the_page_cgi.htm
HTH and good luck.
 
S

Steve Easton

It sets the page expiration date to yesterday,
so the browser automatically considers the page
as expired as soon as it is loaded.


--
95isalive
This site is best viewed..................
...............................with a computer
Hi Steve,
could you explain that meta tag and what it does. it's different from the
meta refresh.
thanks,
cl
 
S

Steve Easton

He really didn't need the page to refresh
while it was loaded, he just wanted to ensure
the page was reloaded on each visit.
the expires tag "should" do that.

hth
--
95isalive
This site is best viewed..................
...............................with a computer


Hi Steve,
could you explain that meta tag and what it does. it's different from the
meta refresh.
thanks,
cl
 
S

Stefan B Rusynko

To circumvent aol caching just add ? to all of your links for frequently changed pages
<a href="this_is_the_page.htm?>The page</a>


--



| not really my trick. I think it was a Kevin Spencer trick. I was having
| problems with one of my customer's lunch menu not reflecting changes made on
| it to aol users. one of the other tricks (that doesn't involve using asp to
| custom write the headers) is to rename the file with cgi in it like so:
| this_is_the_page_cgi.htm
| HTH and good luck.
|
| | > Thanks Guys,
| > I went with the ? after the link and it worked like a charm...
| >
| > | > > I think that if the hyperlink's target is the same as the page it's on
| > that
| > > the effect will be to refresh that page.
| > > you may run into a little bit of trouble with aol and other isp's "cache
| > > server" feeding the viewers a page that they've saved.
| > > If this is the case you may want to make the link that serves to refresh
| > the
| > > page contain an empty parameter to try to prevent this. no big deal,
| > you'd
| > > just make the hyperlink something like:
| > > this_is_the_page.htm?
| > > HTH
| > >
| > > | > > > I want to be able to force a refresh regardless of settings in clients
| > IE
| > > > cache setting. I would like do this with a hyperlink on my page.
| > > >
| > > >
| > >
| > >
| >
| >
|
|
 

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

Similar Threads

HTML question - force browser to reload a page 5
Refresh A Page 1
Reload button 2
Auto Refresh and maintain scroll position 3
Force a refresh? 2
page refresh 3
hyperlink forces a refresh 2
Refresh 6

Top