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

reload image directly

P: n/a
I am uploading a new image to my database.
The upload works ok and the new image is stored ok on server.
The problem is can I force a reload on cache to display the new image.
If I reload the page it works fine but if i dont then the old image is
displayed.
is there a way to force a reload of image.
Thanks
Feb 26 '07 #1
Share this Question
Share on Google+
1 Reply


P: n/a
chris wrote:
I am uploading a new image to my database.
The upload works ok and the new image is stored ok on server.
The problem is can I force a reload on cache to display the new image.
If I reload the page it works fine but if i dont then the old image is
displayed.
is there a way to force a reload of image.
Thanks
Chris,

You can "recommend" a reload with the no-cache header:

<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">

But you can't "force" a reload. Browsers (and cashing servers between
your site and the client) are free to ignore it.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================
Feb 26 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.