<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Why do I lose my ASP.NET Sessions due to constant AppDomain&#8217;s recyclings?</title>
	<atom:link href="http://blog.dynatrace.com/2009/07/24/why-do-i-loose-my-asp-net-sessions-due-to-constant-appdomains-recyclings/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.dynatrace.com/2009/07/24/why-do-i-loose-my-asp-net-sessions-due-to-constant-appdomains-recyclings/</link>
	<description>dynaTrace Blog on Performance, Scalabilty and Architecture - Java and .NET  Application Performance Management</description>
	<lastBuildDate>Sun, 05 Sep 2010 07:07:06 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Andreas Grabner</title>
		<link>http://blog.dynatrace.com/2009/07/24/why-do-i-loose-my-asp-net-sessions-due-to-constant-appdomains-recyclings/comment-page-1/#comment-5911</link>
		<dc:creator>Andreas Grabner</dc:creator>
		<pubDate>Thu, 27 Aug 2009 20:33:21 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dynatrace.com/?p=682#comment-5911</guid>
		<description>Yes Max - thats correct - just as I responded to Lynn Eriksen. An out-of-process cache would solve the problem of loosing the ASP.NET Sessions. The general problem that I ran into however still exists - which is the recycling of AppDomains that was caused by a File Change Notification</description>
		<content:encoded><![CDATA[<p>Yes Max &#8211; thats correct &#8211; just as I responded to Lynn Eriksen. An out-of-process cache would solve the problem of loosing the ASP.NET Sessions. The general problem that I ran into however still exists &#8211; which is the recycling of AppDomains that was caused by a File Change Notification</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Max @ .NET Sessions</title>
		<link>http://blog.dynatrace.com/2009/07/24/why-do-i-loose-my-asp-net-sessions-due-to-constant-appdomains-recyclings/comment-page-1/#comment-5908</link>
		<dc:creator>Max @ .NET Sessions</dc:creator>
		<pubDate>Thu, 27 Aug 2009 19:27:15 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dynatrace.com/?p=682#comment-5908</guid>
		<description>The main reason for ASP.NET Sessions due to constant AppDomain’s recyclings is that ASP.NET&#039;s cache is inproc or in process, which means that the memory used for the cache is allocated from that process&#039;s memory, therefore when the appDomian recycles, the cache is also recycled, which directly means that the ASP.NET sessions and other data in the cache is lost. 

To over come this problem, what you can do is to use a out-Proc or out of process cache for your ASP.NET application, for example, I used NCache Express to over come this issue. 
you can check it out at

 http://www.alachisoft.com/ncache/ncache_express.html

Regards
Max</description>
		<content:encoded><![CDATA[<p>The main reason for ASP.NET Sessions due to constant AppDomain’s recyclings is that ASP.NET&#8217;s cache is inproc or in process, which means that the memory used for the cache is allocated from that process&#8217;s memory, therefore when the appDomian recycles, the cache is also recycled, which directly means that the ASP.NET sessions and other data in the cache is lost. </p>
<p>To over come this problem, what you can do is to use a out-Proc or out of process cache for your ASP.NET application, for example, I used NCache Express to over come this issue.<br />
you can check it out at</p>
<p> <a href="http://www.alachisoft.com/ncache/ncache_express.html" rel="nofollow"></a><a href='http://www.alachisoft.com/ncache/ncache_express.html'>http://www.alachisoft.com/ncache/ncache_express.html</a></p>
<p>Regards<br />
Max</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andreas Grabner</title>
		<link>http://blog.dynatrace.com/2009/07/24/why-do-i-loose-my-asp-net-sessions-due-to-constant-appdomains-recyclings/comment-page-1/#comment-5489</link>
		<dc:creator>Andreas Grabner</dc:creator>
		<pubDate>Wed, 29 Jul 2009 10:11:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dynatrace.com/?p=682#comment-5489</guid>
		<description>You are correct - I could avoid loosing my session by placing them outside of my ASP.NET Process. The general problem however still is that people have to be aware of the fact that there has been a change with AppDomain recycling from ASP.NET 1.1 to 2.0. Changing the session storage to either state server or sql server would not solve the fundamental problem that I ran into.
Thanks for the link to velocity - looking forward to that.</description>
		<content:encoded><![CDATA[<p>You are correct &#8211; I could avoid loosing my session by placing them outside of my ASP.NET Process. The general problem however still is that people have to be aware of the fact that there has been a change with AppDomain recycling from ASP.NET 1.1 to 2.0. Changing the session storage to either state server or sql server would not solve the fundamental problem that I ran into.<br />
Thanks for the link to velocity &#8211; looking forward to that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lynn eriksen</title>
		<link>http://blog.dynatrace.com/2009/07/24/why-do-i-loose-my-asp-net-sessions-due-to-constant-appdomains-recyclings/comment-page-1/#comment-5464</link>
		<dc:creator>lynn eriksen</dc:creator>
		<pubDate>Sun, 26 Jul 2009 04:55:12 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dynatrace.com/?p=682#comment-5464</guid>
		<description>use the Out of Process with the Session State Server to avoid these problems. In the .net 4 time frame you&#039;ll probably do even better by using velocity distributed in memory caching.</description>
		<content:encoded><![CDATA[<p>use the Out of Process with the Session State Server to avoid these problems. In the .net 4 time frame you&#8217;ll probably do even better by using velocity distributed in memory caching.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Annuity Blogg</title>
		<link>http://blog.dynatrace.com/2009/07/24/why-do-i-loose-my-asp-net-sessions-due-to-constant-appdomains-recyclings/comment-page-1/#comment-5461</link>
		<dc:creator>Annuity Blogg</dc:creator>
		<pubDate>Sat, 25 Jul 2009 17:47:12 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dynatrace.com/?p=682#comment-5461</guid>
		<description>[...] Why do I loose my ASP.NET Sessions due to constant AppDomain&#039;s &#8230; [...]</description>
		<content:encoded><![CDATA[<p>[...] Why do I loose my ASP.NET Sessions due to constant AppDomain&#39;s &#8230; [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Why do I loose my ASP.NET Sessions due to constant AppDomain&#39;s &#8230;</title>
		<link>http://blog.dynatrace.com/2009/07/24/why-do-i-loose-my-asp-net-sessions-due-to-constant-appdomains-recyclings/comment-page-1/#comment-5451</link>
		<dc:creator>Why do I loose my ASP.NET Sessions due to constant AppDomain&#39;s &#8230;</dc:creator>
		<pubDate>Fri, 24 Jul 2009 14:22:35 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dynatrace.com/?p=682#comment-5451</guid>
		<description>[...] more here: Why do I loose my ASP.NET Sessions due to constant AppDomain&#039;s &#8230;   SHARETHIS.addEntry({ title: &quot;Why do I loose my ASP.NET Sessions due to constant AppDomain&#039;s [...]</description>
		<content:encoded><![CDATA[<p>[...] more here: Why do I loose my ASP.NET Sessions due to constant AppDomain&#39;s &#8230;   SHARETHIS.addEntry({ title: &quot;Why do I loose my ASP.NET Sessions due to constant AppDomain&#39;s [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Why do I loose my ASP.NET Sessions due to constant AppDomain&#39;s &#8230; &#124; Webmaster Tools</title>
		<link>http://blog.dynatrace.com/2009/07/24/why-do-i-loose-my-asp-net-sessions-due-to-constant-appdomains-recyclings/comment-page-1/#comment-5448</link>
		<dc:creator>Why do I loose my ASP.NET Sessions due to constant AppDomain&#39;s &#8230; &#124; Webmaster Tools</dc:creator>
		<pubDate>Fri, 24 Jul 2009 09:50:20 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dynatrace.com/?p=682#comment-5448</guid>
		<description>[...] Here is the original: Why do I loose my ASP.NET Sessions due to constant AppDomain&#039;s &#8230; [...]</description>
		<content:encoded><![CDATA[<p>[...] Here is the original: Why do I loose my ASP.NET Sessions due to constant AppDomain&#39;s &#8230; [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DotNetShoutout</title>
		<link>http://blog.dynatrace.com/2009/07/24/why-do-i-loose-my-asp-net-sessions-due-to-constant-appdomains-recyclings/comment-page-1/#comment-5446</link>
		<dc:creator>DotNetShoutout</dc:creator>
		<pubDate>Fri, 24 Jul 2009 08:36:33 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dynatrace.com/?p=682#comment-5446</guid>
		<description>&lt;strong&gt;Why do I loose my ASP.NET Sessions due to constant AppDomain’s recyclings...&lt;/strong&gt;

Thank you for submitting this cool story - Trackback from DotNetShoutout...</description>
		<content:encoded><![CDATA[<p><strong>Why do I loose my ASP.NET Sessions due to constant AppDomain’s recyclings&#8230;</strong></p>
<p>Thank you for submitting this cool story &#8211; Trackback from DotNetShoutout&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
