ICEfaces
  1. ICEfaces
  2. ICE-9257

Client-side JavaScript API for user-inactivity detection

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0.BETA, 4.0
    • Component/s: Bridge
    • Labels:
      None
    • Environment:
      ICEfaces 3.x
    • Assignee Priority:
      P2
    • Affects:
      Documentation (User Guide, Ref. Guide, etc.), Sample App./Tutorial

      Description

      A useful feature for many applications is to have an application perform an action in response to a prolonged period of user-inactivity in the browser. This may be to force the user to logout, to popup a warning dialog asking if the user requires assistance or more time to complete a transaction.

      This differs from server-side session expiry warnings in that it is based purely on the lack of client-side user activity (mouse moves and button presses, key presses, etc.).

      To support this feature, a new bridge API should be added to allow the configuration of a client inactivity timeout (via ice core:config). When set, a JavaScript callback can be received when the inactivity threshold expires. The application can then use the callback to perform whatever actions it requires based on the inactivity.

      By default, the bridge will not perform any action based on the user-activity timeout other than execute an registered callbacks (the application will have to register a callback in order for anything to occur based on the inactivity timeout).

        Issue Links

          Activity

            People

            • Assignee:
              Mircea Toma
              Reporter:
              Ken Fyten
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: