HighTechTalks DotNet Forums  

Caching won't stop

ASP.net Caching microsoft.public.dotnet.framework.aspnet.caching


Discuss Caching won't stop in the ASP.net Caching forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
TVanover
 
Posts: n/a

Default Caching won't stop - 12-10-2005 , 07:43 AM






I have a frameset that has a asp treeview control that is bound to an
XMLDataSource.

I cannot get the page to stop caching. I can manually change the data and
have different users hit the page and the page seems to renderthe first one
in for all requests regardless of the actual data sent to the control.

I have tried to turn off caching and even emptied the Viewstate statebag. I
am not sure what else I need to try to turn off other than the page
directives that are already set to "NoStore"

Timothy A. Vanover MCSD, MCDBA, MCAD, MCSD for .Net

Reply With Quote
  #2  
Old   
TVanover
 
Posts: n/a

Default RE: Caching won't stop - 12-11-2005 , 07:00 AM






I found the reason. The XMLDataSource has a cache abilitiy that apparently
hangs on to the cache between sessions and or posts.

To turn it off I merely set the tag to EnableCaching="False".

<asp:XmlDataSource ID="TreeData" runat="server" EnableCaching="false"
Quote:
/asp:XmlDataSource
--
Timothy A. Vanover MCSD, MCDBA, MCAD, MCSD for .Net


"TVanover" wrote:

Quote:
I have a frameset that has a asp treeview control that is bound to an
XMLDataSource.

I cannot get the page to stop caching. I can manually change the data and
have different users hit the page and the page seems to renderthe first one
in for all requests regardless of the actual data sent to the control.

I have tried to turn off caching and even emptied the Viewstate statebag. I
am not sure what else I need to try to turn off other than the page
directives that are already set to "NoStore"

Timothy A. Vanover MCSD, MCDBA, MCAD, MCSD for .Net

Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.