Just add smth. like "&nocache=12345689" to image url where 1234567 is
current time in ms. This way browser will think that image-url has
changed.

On 17 Mrz., 12:25, ArunDhaJ <[email protected]> wrote:
> Hi All,
> I'm using Image class for displaying image. I've even provided my
> website user the ability to change the image by choosing their own.
> When uploading I'll be replacing the old image in the server with the
> newly selected image without changing the file name. Since there is no
> change in the file name, the page doesnt get update with the new one.
> For viewing the new image user have to manually refresh the page or
> close the explorer and open in new page.
> I tried fixing this problem by having a 1*1 pixel image, every time I
> load, I will load this 1 pixel image then with the actual image. But
> this approach is not working... Will this approach work, am I doing
> any mistake? Or is there any other approach?
>
> Thanks in Advance
> ArunDhaJwww.arundhaj.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to