Some content on this site is available only to logged-in subscribers. Contact Us for information on becoming a subscriber.

InSource.Solutions | InSource Training | InSource Client Portal
InSource Solutions Logo
Log In Sign Up
InSource.Solutions InSource Training InSource Client Portal Log In Sign Up
  • Home
  • AVEVA InTouch
  • AVEVA InTouch Tech Notes

TN IT198 Automatic logout (Inactivity Warning and Timeout)

Last updated: March 6th, 2025

Description

  • Author: Brian Schneider
  • Published: March 6th, 2025

Details:

Description

Using security within InTouch and would like the software to automatically log the user out after a period of inactivity.

  • Author: Dillon Perera
  • Published: 12/29/2015
  • Applies to: InTouch 9.5 and up

Details

When using InTouch's security, by default when a user is logged in they will stay logged in indefinitely. InTouch can be set to automatically log the user out after a period of inactivity, and warn them prior.

This is accomplished by setting up an Inactivity Warning timer, and an Inactivity Timeout timer.

Inactivity Warning

To setup an Inactivity Warning, we first have to specify when this should occur. To enter this value we'll go into WindowViewer's configuration, from within WindowMaker.

In the Inactivity Warning, you can specify how many seconds to wait before providing a warning. This value should be lower than the Inactivity Timeout. Note that these values are not additive, so in the following example from starting time 0:00:00 a warning will be displayed at 0:00:60, and then the user will be logged out at 0:02:00.

Once in runtime, when a user is logged in and has been inactive for 60 seconds, the built in system tag named $InactivityWarning will be set to 1. This will let us know that the time elapsed. A Condition Script can be written to look for this ($InactivityWarning==1) and then either display a Window on the screen to inform the operator, or we can use this in an animation to flash an icon.

For example, to display a window, we'll assume we have already created a window called "Logout Warning", and we will create a script to display it:

Inactivity Timeout

To set a timeout period we will go to the WindowViewer configuration from WindowMaker:

From this screen we see an "Inactivity" section. The Timeout is the setting that will automatically log the user out after a certain amount of time. Enter in the amount of time that the software should wait before logging them out.

For example, to log out after 2 minutes of inactivity:

General

If either the Inactivity Warning or Timeout timers are set to 0 then those features will not be enabled.

automatic logoff idle timeout
Give feedback about this article

Recommended articles

How to receive group emails

Read More
Support Icon

CONTACT SUPPORT

How to reach us

10800 Midlothian Turnpike Tpke, Suite 209, Richmond, VA 23235

1.877.INSOURCE

Technical Support - 1.888.691.3858

Contact Us

  • InSource Solutions
  • InSource Training
  • InSource Client Portal
  • Log In
InSource Solutions Logo

© 2025 InSource Solutions. All Rights Reserved.

Knowledge Base Software powered by Helpjuice

Expand