By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,530 Members | 2,181 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,530 IT Pros & Developers. It's quick & easy.

How to force a page refresh?

P: n/a
Is there a way to force a page refresh, so users will not receive a cached
version of a page, even if they have their browser set to never check for a
newer version of page?

Thank you!
Jan 4 '06 #1
Share this Question
Share on Google+
4 Replies


P: n/a
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
You can lead a fish to a bicycle,
but it takes a very long time,
and the bicycle has to *want* to change.

"Paul Drummond" <no**********@yahoo.com> wrote in message
news:mT******************@tornado.rdc-kc.rr.com...
Is there a way to force a page refresh, so users will not receive a cached
version of a page, even if they have their browser set to never check for
a newer version of page?

Thank you!

Jan 4 '06 #2

P: n/a
<meta http-equiv="Refresh" content="300">

"Paul Drummond" wrote:
Is there a way to force a page refresh, so users will not receive a cached
version of a page, even if they have their browser set to never check for a
newer version of page?

Thank you!

Jan 4 '06 #3

P: n/a
Hello Paul,
Is there a way to force a page refresh, so users will not receive a
cached version of a page, even if they have their browser set to never
check for a newer version of page?


I don't think so. This is a web client specific behaviour to ignore HTTP
protocol features, such as Cache-Control headers. And no, META tags won't
cut it either.
--
Joerg Jooss
ne********@joergjooss.de
Jan 4 '06 #4

P: n/a
Hello myself,
Hello Paul,
Is there a way to force a page refresh, so users will not receive a
cached version of a page, even if they have their browser set to
never check for a newer version of page?

I don't think so. This is a web client specific behaviour to ignore
HTTP protocol features, such as Cache-Control headers. And no, META
tags won't cut it either.


Well, the Refresh trick should work, *if* that behaviour is what you want.
You still have to make sure though that the page has not been cached by some
upstream proxy server by setting Cache-Control: no-cache (See System.Web.HttpCachePolicy).

Cheers,
--
Joerg Jooss
ne********@joergjooss.de
Jan 4 '06 #5

This discussion thread is closed

Replies have been disabled for this discussion.