I am having troube forcing IE on the macintosh to "not cache" a dynamically generated image. If the user right clicks on the image and "refreshes" it, then it shows up correctly. This is basically how my files are ( shortened for brevity sake ). This works on all windows machines, and on netscape on macintosh. I have tried many differnt headers, and have had no luck. Any suggestions?
index.php
<?php
header('Expires: -1');
header('Pragma: no-cache');
header('Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0');
?>
<HEAD>
</HEAD>
<BODY>
<img src="makeimage.php?user=<?php echo $g_user; ?>"
</BODY>
makeimage.php
<?php
header("Content-type: image/jpeg");
header('Expires: -1');
header('Pragma: no-cache');
header('Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0');
?>
/ I do my image stuff here based upon user(snipped) /
ImageJPEG($image);