Station Auto Logoff

In Niagara, there is support for the station auto logoff capability. Meaning that any station connection in a web browser or in Workbench can log the user off due to inactivity. The purpose of the station auto logoff properties and separate Workbench auto logoff options is to allow for setting more restrictive (shorter) or less restrictive (longer) auto logoff period times to accommodate different use cases.

Note: The Workbench has separate auto logoff settings (under Tools > Options) that apply to only to the Workbench session.

Enabled by default, the station Auto LogOff feature can be configured using the Default Auto Logoff Period property in the UserService component and additional Auto Logoff properties in the individual User accounts.

When the station does not detect any user activity for a configurable period of time, it first displays a warning popup. Clicking OK in the warning allows you to continue working in the station connection, otherwise the station automatically logs you off. Once auto logoff occurs, you are presented with an auto logoff notice in the Login window in the browser, as shown. If your station connection is via Workbench, a similar warning and logoff notice displays in the window.

Figure 1. Auto Logoff warning popup and alert notice in browser login


As of Niagara 4.15, the Absolute Logoff option ensures that the users are automatically logged out after an absolute timeout. For example, if the timeout is set for 7 days (default), then after 7 days of login regardless of activity, the user will be forced to log in again. You can enable or disable it as follows:
  • Globally in the baja-UserService component using the Absolute Logoff Enabled property. If enabled, the Absolute Logoff Enabled​ property is added to the ​User Manager view where you can apply it to individual users​.

  • Per user in the baja-User component by enabling/disabling the Absolute Logoff Enabled property.For details on the station auto logoff properties, refer to "baja-UserService" and "baja-User".

Note: The Absolute Logoff feature is not available in stations that run Niagara 4.14 and earlier. However, the New Station templates enable it by default, which means that new stations created with these templates provide this option .

For details on the station auto logoff properties, refer to baja-UserService and baja-User components in the Getting Started with Niagara guide.