English

How To: Extend the Web ADF timeout in Windows Server 2008

Summary

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.

Procedure

Follow the steps below to extend the Web ADF timeout in Windows Server 2008.

  1. 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
  2. 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)

    Note:
    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.

  3. 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)

Related Information