WebControl/Cache-Control question
From: Nadav (Nadav_at_discussions.microsoft.com)
Date: 03/12/05
- Next message: Peter Jausovec: "Re: Where to sell an app?"
- Previous message: Peter Jausovec: "Re: Random numbers (part II)"
- Next in thread: Derek Harmon: "Re: WebControl/Cache-Control question"
- Reply: Derek Harmon: "Re: WebControl/Cache-Control question"
- Reply: Alvin Bruney [ASP.NET MVP]: "Re: WebControl/Cache-Control question"
- Messages sorted by: [ date ] [ thread ]
Date: Sat, 12 Mar 2005 08:17:08 -0800
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.
--
Nadav
http://www.sophin.com
- Next message: Peter Jausovec: "Re: Where to sell an app?"
- Previous message: Peter Jausovec: "Re: Random numbers (part II)"
- Next in thread: Derek Harmon: "Re: WebControl/Cache-Control question"
- Reply: Derek Harmon: "Re: WebControl/Cache-Control question"
- Reply: Alvin Bruney [ASP.NET MVP]: "Re: WebControl/Cache-Control question"
- Messages sorted by: [ date ] [ thread ]