how to force a refresh?

From: Date: Thu, 13 Mar 2003 10:25:57 +0000
Subject: how to force a refresh?
Groups: php.general 
Request: Send a blank email to php-general+get-139449@lists.php.net to get a copy of this message
Ok, well I have a form that uploads images, but of course the problem is, is that IE caches the uploaded images. The only way to clear the cache is to refresh, but that isn't a very user friendly approach. I've tried the following header tags: Header("Pragma: no-cache"); Header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); Header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); Header("Cache-Control: no-cache, must-revalidate"); Header("Expires: Thu, 01 Jan 1970 00:00:01 GMT") but of course no luck. Is there a way I can force a refresh from my script? Thanks

« previous php.general (#139449) next »