Forum Moderators: coopster
I am creating a user manager area where my user is able to manage their suppliers. Part of this managment includes the uploading of a supplier's picture. And I have adopted the following procedure:
1. Select a supplier. 2. Change (form) information of supplier details. 3. Upload picture. 4. An option to go back to point1.
When I arrive at point 4. the new picture has been uploaded correctly. But when I go thru again - to steps 1 and then 2 - to modify the same supplier - the previous picture is being displayed rather than the new one. But if I hit browser refresh, then i see the new picture.
How do i get the new picuture to be displayed automatically? I am using IE6. And am already using the following meta-tags (which don't seem to work):
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Expires" content="0">
Please could you help?
And am already using the following meta-tags (which don't seem to work):
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Expires" content="0">
That's because you're setting the meta tags on the HTML, not the picture.
and return the correct HTTP headers for the request for the picture.
[edited by: jatar_k at 5:02 pm (utc) on Sep. 10, 2004]
[edit reason] removed url [/edit]