C# – Session State Server vs Custom Session State Provider

Architectureasp.netasp.net-4.0csession

I have been tasked to scale out the session for an application. From my research the most obvious choice is to use the State Server session provider, because I don't need the users sessions to persist (SQL Server Session provider)

About the app:

  • Currently using InProc session provider
  • All objects stored in session are serializable
  • All objects are small (mostly simple objects (int, string) and a few simple class instances)

Before I dive head-first into the IT side of things and with the ability to provide a custom session provider with ASP.NET 4, should I even consider a custom session state provider. Why or why not? Are there any "good" ones out there?

Thanks!
User feedback:

  • Why are we using session: persistence of data between postbacks (e.g. user selections)
  • How: user makes a selection, selection is stored. User leaves a page and returns,
    selections are restored. etc. etc.
  • Will be creating a web farm
Related Topic