Tuesday, November 25, 2008

Enable Session in SharePoint

In Web.Config file, modify the following string.

<pages enableSessionState="true" enableViewState="true" enableViewStateMac="true" validateRequest="false" />


<!--<add name="Session" type="System.Web.SessionState.SessionStateModule"/> -->
Change into:

<add name="Session" type="System.Web.SessionState.SessionStateModule"/>