Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Why is Session State disabled in SharePoint by default?

Does it not make use of session in any feature of SharePoint at all? If so then which features require session?

share|improve this question
up vote 4 down vote accepted

Sharepoint kinda does it's own session management. Part of the reason it's disabled (I think ) is to keep developers from screweing around with sessions in sharepoint without knowing what they are doing and causing headches for admins. SharePoint does not automatically remove old session state records from the session state database tables. Performance will degrade if you are using sessions without proactive action to regularly purge expired sessions.

Here is a relevent quote from From the patterns & practices SharePoint Guidance:

Session State Management in SharePoint SharePoint relies upon the ASP.NET session state framework for session state. The ASP.NET session state infrastructure includes session state providers that allow you to implement different store partitions for session state information. For more information on ASP.NET session state providers, see Session State Provider on MSDN.

SharePoint implements its own session state persistence mechanism. A partition resolver redirects the SqlSessionStateStore to the SharePoint session database based upon the session ID. SharePoint creates a session state database when the primary Shared Services Provider is installed. For information on configurating the primary Shared Services Provider, see Configure the primary Shared Services Provider on TechNet.

Microsoft Office Forms Server and Microsoft Office Project Server rely upon ASP.NET session state. Excel Services relies upon session state, but tracks session information directly within the Excel Services Shared Service Provider (SSP) rather than relying upon the ASP.NET session infrastructure.

share|improve this answer
Deleted my other incorrect answer Jim, thanks. Not entirely sure what I was thinking there, but it was more than a year ago... – MattB Jun 16 '11 at 14:35

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.