Directory

← Back

IdleAlarm

Shows alarm notification before idle session timeout

Author

Rating

Popularity

<100

This add-on adds alarm notification shown to user before session is expired because of user idling in UI. When this notification is shown, clicking anywhere in UI will push the idle timeout to future.

Notice:

  • Extension will throw exceptions when created, if it is used with wrong timeout setup.
  • Idle timeout has always short extra delay before sessions gets expired. So user always have few extra seconds, or event minutes before session gets expired (compared to time left shown to user).

To be used if you have your users are annoyed about idle sessions timeouts.

This add-on is OSGi bundled.

Sample code

// Enable with default message and 60s warning time
IdleAlarm.get().setSecondsBefore(60)

// Optionally also define the message
IdleAlarm.get().setSecondsBefore(60)
    .setMessage("Your session will expire in less than "
        + IdleAlarmFormatting.SECS_TO_TIMEOUT
        + " seconds. Please click anywhere to extend session.");

Compatibility

(Loading compatibility data...)

Was this helpful? Need more help?
Leave a comment or a question below. You can also join the chat on Discord or ask questions on StackOverflow.

Version

Backported features from 0.3.x series to Vaadin 7 version 0.1.2

Released
2018-10-09
Maturity
BETA
License
Apache License 2.0

Compatibility

Framework
Vaadin 7.0+
Vaadin 8.0+ in 0.3.1
Vaadin 7.4+ in 0.1.1
Browser
Firefox
Opera
Safari
Google Chrome
Internet Explorer
iOS Browser
Android Browser
Internet Explorer
Internet Explorer
Windows Phone
Microsoft Edge

IdleAlarm - Vaadin Add-on Directory

Shows alarm notification before idle session timeout IdleAlarm - Vaadin Add-on Directory
This add-on adds alarm notification shown to user before session is expired because of user idling in UI. When this notification is shown, clicking anywhere in UI will push the idle timeout to future. Notice: - Extension will throw exceptions when created, if it is used with wrong timeout setup. - Idle timeout has always short extra delay before sessions gets expired. So user always have few extra seconds, or event minutes before session gets expired (compared to time left shown to user). To be used if you have your users are annoyed about idle sessions timeouts. This add-on is OSGi bundled.
Online