How to enable sessions in a SharePoint Web Application:
Then, locate the <pages> element and enable session state:
Open the web.config file of your web application and do the following:
Locate the <modules> section, and just below <remove name="Session" />, add a new element:
<add name="Session" type="System.Web.SessionState.SessionStateModule" preCondition="" />
Then, locate the <pages> element and enable session state:
<pages enableSessionState="true" ...
Enable or disable session state across the entire farm
- On the taskbar, click Start, point to Administrative Tools, and then click SharePoint 3.0 Central Administration.
- In the top navigation bar, click the Application Management tab.
- On the Application Management page, in the Office SharePoint Servers Shared Services section, click Configure session state.
- On the Configure Session State page, in the Enable Session State section, select the Enable Session State check box to enable session state for the farm.
- To specify the duration of sessions, in the Timeout section, enter a number (in minutes) in the Session should be timed out after (minutes) box. The default is 60 minutes.
- Click OK to save the session state configuration.
No comments:
Post a Comment