Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

INFO: The stateNetworkTimeout Attribute Is Available in the <sessionState> Configuration


View products that this article applies to.

This article was previously published under Q316448

↑ Back to the top


Summary

You can configure an additional attribute named stateNetworkTimeout in the ASP.NET application session state settings.

↑ Back to the top


More information

When you use StateServer mode in session state attributes, you can specify an additional attribute, stateNetworkTimeout. This attribute specifies the number of seconds that a Transmission Control Protocol/Internet Protocol (TCP/IP) network request can be idle before the request times out.

This is useful if your Web server or your state server is under heavy stress and needs more time to complete network operations. If a Web server or a state server is under stress and cannot complete the task on time, event ID 1072 and event ID 1076 may be logged in the event log.

You can specify the stateNetworkTimeout attribute in the Machine.config file or in the Web.config file of an application. For example, use the following code to include this attribute:
<sessionState 
  stateNetworkTimeout="15"
/>
				

↑ Back to the top


References

For additional information, click the article numbers below to view the articles in the Microsoft Knowledge Base:
308097� PRB: State Server Logs Event ID 1072 or Event ID 1076
307598� INFO: ASP.NET State Management Overview
307626� INFO: ASP.NET Configuration Overview

↑ Back to the top


Keywords: KB316448, kbstate, kbperformance, kbinfo, kbconfig

↑ Back to the top

Article Info
Article ID : 316448
Revision : 7
Created on : 2/23/2007
Published on : 2/23/2007
Exists online : False
Views : 587