Manage session state (Office Forms Server)


Updated: May 21, 2009

Applies To: Office Forms Server 2007


Topic Last Modified: 2009-05-11

In this article:

The Session State service in Microsoft Office Forms Server 2007 is a farm-level service that takes advantage of the underlying ASP.NET session state implementation. Enabling session state allows browser sessions to be established, with session information stored in an SQL database to minimize transfer of data over the network every time a postback takes place. Session state also permits sessions to exist between load-balanced front-end Web servers without the end user being aware that there are multiple servers. The load balancer distributes sessions across the front-end Web servers, and the session state implementation sets up the state on each front-end Web server. Session state is enabled by default. Session state can be disabled for troubleshooting purposes, but if it is disabled, InfoPath Forms Services will no longer function.

When you create the first Shared Services Provider (SSP) for a farm, the database tables and code required for session state to operate are installed and configured automatically.

For more information about ASP.NET session state, see ASP.NET Session State Overview ( on the Microsoft Web site.

In order to enable session state for the farm, you must first configure an SSP for a Web application. Without an SSP configured and associated with a Web application, session state will not function on the farm. If there is already an SSP associated with a Web application, you can go straight to Enable or disable session state. For more information about creating an SSP, see Configure the primary Shared Services Provider.

By default, session state is enabled. Session state can be disabled for troubleshooting purposes, but if it is disabled, InfoPath Forms Services will no longer function. Changing this property will modify the Web.config file on every content Web application on every server in the farm.

Session state does not work on the SharePoint Central Administration Web site.
Enable or disable session state across the entire farm
  1. On the taskbar, click Start, point to Administrative Tools, and then click SharePoint 3.0 Central Administration.

  2. In the top navigation bar, click the Application Management tab.

  3. On the Application Management page, in the Office SharePoint Servers Shared Services section, click Configure session state.

  4. 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.

  5. 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.

  6. Click OK to save the session state configuration.

This topic is included in the following downloadable book for easier reading and printing: