Y
YeeCN
Hi,
I have a page which contain a image control for displaying a .gif file. The
application allows the user to upload a different image to replace the
existing one - but when I do Response.redirect() back to the page, the old
image is still being displayed. I need to do a refresh from the browser to
get the new picture.
The old and new pictures are named with the same file name.
I have included a <%@ OutputCache Location="None" %> in the aspx file. I
have also tried using
Response.Cache.SetCacheability(HttpCacheability.NoCache) ;
Any pointers on how to solve this problem?
Thanks in advance.
Yee
I have a page which contain a image control for displaying a .gif file. The
application allows the user to upload a different image to replace the
existing one - but when I do Response.redirect() back to the page, the old
image is still being displayed. I need to do a refresh from the browser to
get the new picture.
The old and new pictures are named with the same file name.
I have included a <%@ OutputCache Location="None" %> in the aspx file. I
have also tried using
Response.Cache.SetCacheability(HttpCacheability.NoCache) ;
Any pointers on how to solve this problem?
Thanks in advance.
Yee