How To: Extend the Web ADF timeout in Windows Server 2008
The instructions provided describe how to extend the Web Application Developer Framework (ADF) timeout when running Internet Information Services (IIS) on a Windows Server 2008 machine. The ArcGIS Web ADF is built on top of Microsoft's .NET Framework and it allows users to integrate GIS functionality into their web applications.
Follow the steps below to extend the Web ADF timeout in Windows Server 2008.
- Set the ASP .NET session timeout in the web.config file within <system.web>. By default, the session timeout is set to 20 minutes.
• Refer to the following ArcGIS Web Help topic for instructions on how to set the ASP .NET session timeout: ArcGIS Server Web ADF for Microsoft .NET
- In IIS, set the 'Idle Time-out' for the application pool to a higher value.
• To set the Idle Time-out for the application pool to a higher value, refer to the following Microsoft TechNet Library topic: Configure Idle Time-out Settings for an Application Pool (IIS 7)
Ensure the value set for the idle time-out is set to the timeout of the ASP.NET session, at a minimum, to ensure all sessions persist for the entire session timeout period. The session information is stored in the worker process of the application pool. If the worker process is shut down or stopped for any reason, the session information is lost.
- Configure the Web ADF Application Session State property to use a 'Custom' setting in IIS. State preservation is not built into the Web ADF, but it can be accomplished through customization. To do so, refer to the following Microsoft TechNet Library topic: Specify a Custom Session State Provider (IIS 7)