State Management Tab, ASP.NET Configuration Settings Dialog Box
The State Management tab of the ASP.NET Configuration Settings dialog box lets you manage state and page information over multiple requests for the pages in the current Web site. ASP.NET session state lets you store and retrieve values for a user account as the user navigates the different ASP.NET pages that make up a Web application. The State Management tab lets you configure how and where the values are stored.
The settings that you make on the State Management tab apply to the Web site that you selected before opening the Properties dialog box.
Configuration settings can be inherited. Settings can be defined in the Machine.config file, which acts as the base configuration for all Web sites on the server. For more information about ASP.NET configuration files, see.
In Microsoft Windows, click Start, point to All Programs, point to Administrative Tools, and then click Internet Information Services (IIS) Manager.
IIS Manager appears.
Under Internet Information Services, expand Servername (local computer), expand Web Sites, right-click either Websitename or Default Website, and then click Properties.
The Web Site Properties dialog box appears.
Click the ASP.NET tab, and then click Edit Configuration.
The ASP.NET Configuration Settings dialog box appears.
Click the State Management tab.
Using the State Management tab, you can do the following:
Select the session-state mode for the current Web application.
Configure the SQLServer and StateServer session-state modes.
- Session state mode
Click a session-state mode. The default session-state mode is InProc, or in memory on the Web server. For a list of the session-state modes that are available for ASP.NET, see.
- Cookieless mode
Click a cookie mode to define when to use a cookie to maintain information about the user. For information about the available cookieless modes, see.
- Session Timeout
Enter the time, in minutes, that is allowed between requests before the session is terminated.
- Connection string
Enter the connection string to identify the server name and port for the ASP.NET state service for themode.
- Network timeout
Enter the time, in seconds, that is allowed between requests before the network session is terminated for the StateServer mode.
- Connection string
Enter the connection string to identify the server name and port for the SQLServer mode.