o-----------ooO--(- Important  Message -)--Ooo------------o
|                                                         |
| SAVE BANDWITH, SPACE, TIME & MONEY, REPLY WITH PRUDENCE.|
|                                                         |
o----=[ Penguin @ My - Linux ([EMAIL PROTECTED]) ]=----o


the scenario:
------------
let say user A accessed the page on 3.00pm. 
later on ie 3.15pm he revisited the page. 

let's assume that: someone (say administrator) updated the image between
the period.

he should get a diff image (but both image are using a same name, ie
'theimg.gif').
but, the 'theimg.gif' is stored inside the user A browser's cache. 
so he'll get the old one instead of the updated image.

how to overcome this prob? regardless what the client browser setting
(if possible)

what i've tried (but not satisfy with the result) is:
---------------
i send these headers to the client every time they access the page in my
php script. (taken from the php manual, directly. ;( )


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("Progma: no-cache");                                     

fyi, i've test the page using linux version of netscape/4.7 only.
win32 based browsers are not available at here.

what should i do next?

thanks in advance. ;)

-- 

---~~===ooOO0==|Woo Wai Kee|==0OOoo===~~---
-
Disclaimer : http://users.my-linux.org/disclaimer.html

Reply via email to