title: Querying session data when using StateServer service
body: <p>Does anybody know of a way to query across all active sessions when using StateServer service in a .NET 4.0 web app?</p>
  
  <p>In my scenario, I am setting a piece of session data when the user navigates to one of our partner sites. The partner site then periodically calls a service on our site which verifies if the session is still active and returns some other data.</p>
  
  <p>I managed to get it working when I was initially using InProc sessions using the solutions outlined in: <a href="https://stackoverflow.com/questions/1470334/list-all-active-asp-net-sessions">List all active ASP.NET Sessions</a>, however when I switched to using StateServer service, these techniques don't work and I can't query the sessions.</p>
  
  <p>Any ideas?</p>
  
  <p>Many thanks</p>