<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>State Management</title><link>http://forums.asp.net/22.aspx</link><description>Managing ASP.NET state - ViewState, Application, Session, etc. &lt;a href="http://aspadvice.com/SignUp/list.aspx?l=69&amp;c=17" target="_blank"&gt;Email List&lt;/a&gt;</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: OutputCache problem</title><link>http://forums.asp.net/thread/3275177.aspx</link><pubDate>Sun, 05 Jul 2009 07:28:59 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3275177</guid><dc:creator>3KyNoX</dc:creator><author>3KyNoX</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3275177.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=22&amp;PostID=3275177</wfw:commentRss><description>&lt;p&gt;Thanks, taking time to read it.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Using actually SQL Server 2008 SP1 express with advanced services (think it is the same way as 2005)&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: OutputCache problem</title><link>http://forums.asp.net/thread/3274604.aspx</link><pubDate>Sat, 04 Jul 2009 11:52:26 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3274604</guid><dc:creator>malcolms</dc:creator><author>malcolms</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3274604.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=22&amp;PostID=3274604</wfw:commentRss><description>&lt;p&gt;Are you using SQL Server 2000 or SQL Server 2005?&amp;nbsp; If you&amp;#39;re using 2005 then check out this article I wrote on it which explains how to clearly use it:&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.dotnetcurry.com/ShowArticle.aspx?ID=263"&gt;http://www.dotnetcurry.com/ShowArticle.aspx?ID=263&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>OutputCache problem</title><link>http://forums.asp.net/thread/3272971.aspx</link><pubDate>Fri, 03 Jul 2009 07:48:39 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3272971</guid><dc:creator>3KyNoX</dc:creator><author>3KyNoX</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3272971.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=22&amp;PostID=3272971</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;on my asp website, i got a webform that displays a category products inside a gridview by selecting category on a dropdownlist.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;i activated outputcache on that page by adding to web.config : &lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;pre name="code" class="c-sharp"&gt;&amp;lt;sqlCacheDependency enabled=&amp;quot;true&amp;quot; pollTime=&amp;quot;500&amp;quot;&amp;gt;
        &amp;lt;databases&amp;gt;
          &amp;lt;add name=&amp;quot;dcNames&amp;quot; connectionStringName=&amp;quot;csName&amp;quot; /&amp;gt;
        &amp;lt;/databases&amp;gt;
      &amp;lt;/sqlCacheDependency&amp;gt;&lt;/pre&gt;&lt;p&gt;and on my administration.aspx page : &lt;/p&gt;&lt;p&gt;&amp;lt;%@ OutputCache Duration=&amp;quot;999999&amp;quot; VaryByParam=&amp;quot;*&amp;quot; VaryByControl=&amp;quot;DropDownList1&amp;quot; SqlDependency=&amp;quot;dcName:Product;dcName:Category&amp;quot; %&amp;gt;&lt;/p&gt;&lt;p&gt;to work with my two tables Products and Category.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;i got a label to verify the page generation at datetime.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;1st problem : When the website is launched, and when i change the dropdownlist selection, the label indicate correctly &amp;quot;Page generated at DateTime.Now&amp;quot; but content of the dropdownlist never updated untill the moment i do a F5 to refresh the page (when i modify a category name for example).&lt;/p&gt;&lt;p&gt;Another problem is that when i select my administration.aspx page on the treeview contained in my masterpage, it keeps an old generation time and so my categories on the dropdownlist are not updated too and do not reflect the database.&lt;/p&gt;&lt;p&gt;Any idea to correct that two problems please ?&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>