- Enter the following PowerShell command in the SharePoint 2010 Management Shell window:
Enable-SPSessionStateService –DefaultProvision.
Steps for PowerShell:-
Go to all programs-->Microsoft SharePoint 2010 products-->SharePoint 2010 Managment Shell.
- On each web application for which you want to use session state, edit the web.config file and set the enableSessionState property of the pages element as follows:
<pages enableSessionState="true".
Monday, December 13, 2010
Session State Error in SharePoint 2010
ASP.NET session state may be used on SharePoint 2010 pages. This service is automatically disabled in normal installations of SharePoint 2010. To enable session State in SP 2010 follow beleow steps:-
Subscribe to:
Post Comments (Atom)
This is a nice article..
ReplyDeleteIts easy to understand ..
And this article is using to learn something about it..
c#, dot.net, php tutorial, Ms sql server
Thanks a lot..!
ri80