Posted by mayla_i on 07/01/06 16:12
Hello experts
I have this question which confuse me! so please help me
Is there a difference between clicking on the refresh button in the
browser and writing this command: "window.location.reload()"
(in the meaning of loading images on a page)
The problem that I'm facing is as following:
my page uses an image to display, I wrote a code in php to change some
pixels of that image and save it with the same name, now I need to
redownload this image again in my page so I wrote the statment
"window.location.reload()" but it surprised me that the result dosen't
appear unless I clicked mannually on the "refresh" button.
It seems that the old image is preloaded in cache or such thing? and
it's reloading again and again?
I tried to use the meta tag "no-cache" but with no good!
[Back to original message]
|