Setting the session timeout

You can specify the time in minutes after which an ASP.NET session expires.

The default is 15 minutes, and the valid range is the range that IIS supports.

To set the session timeout

  1. In Web.Config, find the <sessionState> setting.

  2. In the <sessionState> setting, find the following attribute:

    timeout="number_of_minutes"

  3. Replace the current session timeout value with the value you require.

  4. Save and close Web.Config.