Connecting Tech Pros Worldwide Help | Site Map

reload image directly

  #1  
Old February 26th, 2007, 12:15 PM
chris
Guest
 
Posts: 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
  #2  
Old February 26th, 2007, 12:25 PM
Jerry Stuckle
Guest
 
Posts: n/a

re: reload image directly


chris wrote:
Quote:
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.
jstucklex@attglobal.net
==================
Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
Image reload problem atulvp@gmail.com answers 5 May 2nd, 2007 08:15 AM
Getting an image from WebBrowser [URGENT] whilin@gmail.com answers 1 February 14th, 2007 05:35 PM
Creating an image - speed issues Alexander Fischer answers 8 October 7th, 2006 11:05 AM
How to force browser to reload image from server? Martin answers 4 July 17th, 2005 09:48 AM