Session Timeout

Content Type: Widget
Categories: Utility

Overview

This widget will alert users at a specified time interval that they are about to be logged out and will redirect your users to another page, if configured.

Documentation

Description

This widget will show an alert to your users, anonymous or logged in, that they are about to be logged out or redirected to another page. Based on the configured timeout settings, users will have a certain amount of time to take action or log out. If no action is taken before the alert times out then the user will be automatically logged out / redirected.

Typical usage scenario

If your application is heavy with user sessions, anonymous or logged in.

Features and Limitations

  • Built in Mendix 7.23.19 and has been tested all the way through Mendix 9.24.
  • No dependencies!
  • Can redirect your users away from an application to make certain that environment resources are no longer being used.

 

  • Not ready for native mobile.
  • Will not be useful if your application’s runtime variable SessionTimeout is the default value but more time is required before this widget fires.
  • Untested for use with SSO accounts.

Releases

Version: 2.1.2
Framework Version: 9.24.0
Release Notes: - Fixed an issue where clicking the button to stay signed in would sometimes cause a looping modal, if the mouse wasn't moved immediately after dismissal.
Version: 2.1.1
Framework Version: 9.24.0
Release Notes: This version of the widget uses epochs only for determining idle states, as using parsed dates can lead to errors.
Version: 2.1.0
Framework Version: 9.24.0
Release Notes: This widget now used epochs instead of parsed dates, as parsed dates were throwing invalid cookie errors.
Version: 2.0.0
Framework Version: 7.23.19
Release Notes: - This widget now uses cookies to determine active/idle status. -- Fixes issue where multiple tabs/windows in use would have separate timers which was causing unfocused tabs/windows to log the user out regardless of being active in another. -- Fixes issue where navigation between pages would not reset the timer, at times.
Version: 1.0.2
Framework Version: 7.23.19
Release Notes: - Fixed an issue where idle dialog would appear after dismissing and navigating to another page in an endless loop.