No Cache

by "Kevin Haidl" <kevinh(at)actofmind.com>

 Date:  Fri, 25 Feb 2000 12:59:40 -0800
 To:  "Languages" <hwg-languages(at)hwg.org>
  todo: View Thread, Original
I'm writing a Perl script that uploads a .jpeg to the server.  This image is
ultimately included in a static html file constructed by the script.  Before
going static however, the page is displayed dynamically to the user in case
they want to make any changes.  My problem is that if they subsequently
upload a different image, the browser cache still displays the first one
they uploaded (because the filename does not change).  I need to override
the browser's desire to use the cached image.  I have tried a couple of HTTP
directives,

  <META HTTP-EQUIV="expires" CONTENT="0">
  <meta http-equiv="Pragma" content="no-cache">

, with no effect.  A scripted reload offends the server (probably because it
doesn't resubmit POST parameters).  Anybody know how to deal with this?

Kevin Haidl
Act of Mind Communications
Web Assessment, Site Design, Site Production and Site Promotion
kevinh(at)actofmind.com     http://www.actofmind.com     (604) 734-5098

HWG: hwg-languages mailing list archives, maintained by Webmasters @ IWA