G
Guest
Hello!
I've seen a lot of post about this but every one of them ends up with the
same solution:
Set:
Response.Cache.SetExpires(new DateTime(2000, 1, 1)); // some date in the
past....
Response.Cache.SetCacheability(HttpCacheability.NoCache);
and use:
myPic.ImageURL = picURL + "?time=" + DateTime.Now.Ticks
or something like that. This has worked for me too, until now. One customer
can't get the picture to refresh. I've checked that the image-file changes on
the server and that the src value of the img-tag in the page is different.
Everything changes as it should except the image. How can I force it to show
the right image?
Thanks!
I've seen a lot of post about this but every one of them ends up with the
same solution:
Set:
Response.Cache.SetExpires(new DateTime(2000, 1, 1)); // some date in the
past....
Response.Cache.SetCacheability(HttpCacheability.NoCache);
and use:
myPic.ImageURL = picURL + "?time=" + DateTime.Now.Ticks
or something like that. This has worked for me too, until now. One customer
can't get the picture to refresh. I've checked that the image-file changes on
the server and that the src value of the img-tag in the page is different.
Everything changes as it should except the image. How can I force it to show
the right image?
Thanks!