Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have a SP2010 Server (enterprise edition) that hosts many web applications. Only one application requires a SQL Session State service.

The Powershell command Enable-SPSessionStateService does not specific a web application as target.

Can I Enable Session state service on a specific Web application in my SP2010 Server without affecting the other web applications?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

Yes. This PowerShell command enables session state for the entire farm, but does not turn it on for any web applications.

To make a web application use session state, you'll need to change this in the web.config:

<pages enableSessionState="true"
share|improve this answer

Your Answer

 
discard

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.