|
Posted by Bob Bedford on 11/16/05 17:27
I've a page where I can upload and delete images.
I've such problem I'm trying to solve. My images are numbered xxxx-1.jpg,
xxxx-2.jpg, xxxx-3.jpg (where xxxx is the article number).
Now, when the used deletes the 2nd pictures, then I update the database for
having the xxxx-3.jpg renamed in xxxx-2.jpg and also I rename the file on
the server.
Problem: if I go to the article page, then the OLD xxxx-2.jpg is shown. I've
to refresh with CTRL pushed to get the correct image. Also if I come back to
manage those pictures again, then the third is definetively removed, and the
xxxx-2.jpg shown the old one, not the xxxx-3.jpg renamed.
How to avoid the server to store such think ? I don't want the cache for
such pictures.
Bob
[Back to original message]
|