G
Guest
Hi,
I am new to WebControls, I have created a WebControl that is used to present
an image, the image bing presented is created on runtime, each client side
button click causes the image to change, this require to prevent this image
from being cached, I have tried to play around with:
Context.Response.AddHeader("Cache-Control", ... )
and with
Context.Response.Cache.SetCacheability(System.Web.HttpCacheability.NoCache)
BUT Still, the image is being extracted from the cache and the changes
cannot be seen...
What am I doing wrong here?
How can I prevent the image from being cached?
Any help, samples or pointers will be appreciated.
I am new to WebControls, I have created a WebControl that is used to present
an image, the image bing presented is created on runtime, each client side
button click causes the image to change, this require to prevent this image
from being cached, I have tried to play around with:
Context.Response.AddHeader("Cache-Control", ... )
and with
Context.Response.Cache.SetCacheability(System.Web.HttpCacheability.NoCache)
BUT Still, the image is being extracted from the cache and the changes
cannot be seen...
What am I doing wrong here?
How can I prevent the image from being cached?
Any help, samples or pointers will be appreciated.