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

force refresh

P: n/a
I have code that runs once a day to change an image on a
page. I am having a caching problem because the new
image doesn't show. I need to press ctrl + F5 to force a
refresh. Is there code I can place in the page to do
this for me. I am assuming it would go in the html code.

Thanks
Nov 17 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Just tell the page not to cache on the client machine. You can do this
using the @OutputCache directive in your aspx page. For information check
the following MSDN article
http://msdn.microsoft.com/library/de...utputCache.asp

HTH
-Cliff

"brian" <sh******@lbrspec.com> wrote in message
news:05****************************@phx.gbl...
I have code that runs once a day to change an image on a
page. I am having a caching problem because the new
image doesn't show. I need to press ctrl + F5 to force a
refresh. Is there code I can place in the page to do
this for me. I am assuming it would go in the html code.

Thanks

Nov 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.