Connecting Tech Pros Worldwide Help | Site Map

reload image directly

 
LinkBack Thread Tools Search this Thread
  #1  
Old February 26th, 2007, 11:15 AM
chris
Guest
 
Posts: n/a
Default reload image directly

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, 11:25 AM
Jerry Stuckle
Guest
 
Posts: n/a
Default 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
==================
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.