title: Enabling Session State in SharePoint 2010?
body: <p>I have a web service built for SharePoint 2007 that I am trying to port to SharePoint 2010.  This web service is dependent on session state to function properly, but so far, I have been enable to get session state to work at all in SharePoint 2010.  This web service runs as its own web application under t
  he <code>/_vti_bin</code> virtual directory.  I have tried all of the following with no luck:</p>
  
  <ul>
  <li>Ensured the "State Service" service application is running.</li>
  <li>Added the <code>System.Web.SessionState.SessionStateModule</code> http module to my application's web.config file.</li>
  <li>Added the <code>System.Web.SessionState.SessionStateModule</code> http module to my SharePoint root web.config file.</li>
  <li>Added <code>&lt;pages enableSessionState="true" /&gt;</code> to my application's web.config file.</li>
  <li>Added <code>&lt;pages enableSessionState="true" /&gt;</code> to my root web.config file.</li>
  </ul>
  
  <p>Additional Environment info:</p>
  
  <ul>
  <li>Visual Studio 2008 - SP1</li>
  <li>.NET 3.5 - SP1</li>
  <li>SharePoint 2010 - RC</li>
  <li>Windows Server 2008 R2</li>
  <li>ASMX web service (not WCF)</li>
  </ul>
  
  <p>Had anyone had any luck getting a web application <em>or</em> web service to use session state in SharePoint 2010 yet?</p>
  
  <p>Thanks!</p>
  
  <p>Steve</p>