Flushing (part of) cache

Vote:
 
Hi, I have a quick-poll control on some pages on our site where a user can vote for their "favourite stuff", you know the kind... When a user makes a vote the cached version is updated, (due to a publish event), which is as it should be I guess. My problem is when a new user enters the site. Since the page is cached, the new user gets the last posted result view instead of the questionaire. What is the preferred way to keep a control’s page from being cached. I cannot configure the page from being cached since I do not know what page the poll-control will be used on. Is there something like EPiServer.CacheManager.Remove (this.PageBase.CurrentPage.SomethingLikeCacheID); :o) Thanks, Tobbe
#12802
Mar 25, 2008 18:35
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.