Skip to main content

How to Change Atria's Default Session Timeout

Overview

The session timeout determines how long you can leave an Atria session open for before requiring re-authentication. By default, the timeout is set to 20 minutes. This article describes how to change this session timeout.

Changing the session timeout

If you want to change the session duration, there are two configuration settings in Atria for this. These are both stored on the main Atria web server root of the application folder:

  • Atria v12+ folder location (C:\Inetpub\Automate101\Atria\AtriaWeb)
  • Atria v15+ folder location (C:\Inetpub\Automate101\Atria\WebForms)

User Session

This is defined in the web.config file. This is used to cache values while the user is logged in to the system. Change the timeout value at the end of the line to the required number of minutes.

<sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424" sqlConnectionString="data source=127.0.0.1;user id=sa;password=" cookieless="false" timeout="20" />

Defined in the appSettings.config file. The setting below controls when a user is actually being logged out after inactivity (setting is in minutes, default 60).

<add key="AuthCookieTimeOut" value="60" />
info

When AtriaWeb is updated, the web.config file is typically replaced by the upgrade process. If you have changed the User Session value, then you may need to reset it after the upgrade.

If you require any help or assistance with this process, please contact us at support@getatria.com.