Microsoft KB Archive/316448

From BetaArchive Wiki
Knowledge Base


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

Article ID: 316448

Article Last Modified on 2/23/2007



APPLIES TO

  • Microsoft ASP.NET 1.1
  • Microsoft ASP.NET 1.0



This article was previously published under Q316448

SUMMARY

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

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"
/>
                

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


Keywords: kbconfig kbinfo kbperformance kbstate KB316448