Vorheriges Thema: Modifying the Configuration Files

Nächstes Thema: Specifying Organization Name and Oblicore CA Business Service Insight™ Website Root Path

Enabling Session State on Microsoft Windows SharePoint

The session state should be enabled in the web.config file.

To enable session state:

  1. Using Notepad or any other text editor, open the web.config file.
  2. Under the <httpModules> section, add the following line:
    <add name="Session" type="System.Web.SessionState.SessionStateModule"/>
    

    Note: If this section already exists, verify that it is not in comments.

  3. Under the </httpModules> section, verify that the following line appears as indicated below.
    <pages enableSessionState="true" enableViewState="true" enableViewStateMac="true" validateRequest="false" />
    

    Note: By default, the enableSessionState attribute is set to false. If it is false, change it to true.