<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : ASP.NET session state</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : ASP.NET session state</description>
  <pubDate>Sun, 12 Apr 2026 21:02:56 -700</pubDate>
  <lastBuildDate>Mon, 11 Jul 2011 11:33:24 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=2818</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>ASP.NET session state : Scott,  Rather than trying to...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2818&amp;PID=11208#11208</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1097" rel="nofollow">robertg</a><br /><strong>Subject:</strong> 2818<br /><strong>Posted:</strong> 11-Jul-2011 at 11:33am<br /><br />Scott,<DIV>&nbsp;</DIV><DIV>Rather than trying to serialize the EntityManager, what you actually want to use is the EntityCacheState. You can take that cache state, store it in your session, and then restore it into your EntityManager on your next page load, thus providing the data persistence you're looking for.</DIV><DIV>&nbsp;</DIV><DIV>Here's the relevant page on the DRC for using the CacheState.</DIV><DIV>&nbsp;</DIV><a href="http://drc.ideablade.com/xwiki/bin/view/&#068;ocumentati&#111;n/start-entity-cache#HExportcacheasanEntityCacheState" target="_blank">http://drc.ideablade.com/xwiki/bin/view/Documentation/start-entity-cache#HExportcacheasanEntityCacheState</A><DIV>&nbsp;</DIV><DIV>Yours,</DIV><DIV>Robert</DIV>]]>
   </description>
   <pubDate>Mon, 11 Jul 2011 11:33:24 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2818&amp;PID=11208#11208</guid>
  </item> 
  <item>
   <title>ASP.NET session state :   I needed to switch over to...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2818&amp;PID=11207#11207</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1120" rel="nofollow">scottarlp</a><br /><strong>Subject:</strong> 2818<br /><strong>Posted:</strong> 11-Jul-2011 at 10:06am<br /><br />I needed to switch over to SQL session state for asp.net and I've run into a problem where IB entities aren't serialized (at least the session manager doesn't think they are). So I do a normal entity manager call and get an entity set back. Trying to put this in Session throws an error "Unable to serialize the session state...". <div></div><div>Everything I've found so far says that you need the serialize attribute on the class and I see where there's a datacontract attribute, but I have run into problems before where I had to have both. Is there an easy way to handle this? I would hate to either call the database every time to get this data or create a dummy class to transition the entity to.</div><div>&nbsp;</div><div>Thanks.</div>]]>
   </description>
   <pubDate>Mon, 11 Jul 2011 10:06:32 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2818&amp;PID=11207#11207</guid>
  </item> 
 </channel>
</rss>