Details
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).
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
- is duplicated by
-
ICE-8138 New Client side jQuery Idle Timeout component
- Closed
Activity
Ken Fyten
created issue -
Ken Fyten
made changes -
Field | Original Value | New Value |
---|---|---|
Fix Version/s | 3.4 [ 10770 ] | |
Assignee | Mircea Toma [ mircea.toma ] | |
Affects | Documentation (User Guide, Ref. Guide, etc.),Sample App./Tutorial [ 10003, 10001 ] | |
Assignee Priority | P2 [ 10011 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #34996 | Mon May 13 15:04:25 MDT 2013 | mircea.toma | |
Files Changed | ||||
MODIFY
/icefaces3/trunk/icefaces/core/src/main/javascript/application.js
|
Mircea Toma
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
Resolution | Fixed [ 1 ] | |
Status | Resolved [ 5 ] | Reopened [ 4 ] |
Mircea Toma
made changes -
Status | Reopened [ 4 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #35183 | Mon May 20 15:56:05 MDT 2013 | mircea.toma | |
Files Changed | ||||
MODIFY
/icefaces3/trunk/icefaces/core/src/main/javascript/user-inactivity.js
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #35184 | Mon May 20 15:57:46 MDT 2013 | mircea.toma | |
Files Changed | ||||
MODIFY
/icefaces3/trunk/icefaces/core/src/main/javascript/user-inactivity.js
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #35185 | Mon May 20 15:58:50 MDT 2013 | mircea.toma | |
Files Changed | ||||
MODIFY
/icefaces3/trunk/icefaces/core/src/main/javascript/user-inactivity.js
|
Ken Fyten
made changes -
Fix Version/s | 4.0 [ 11382 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
This post describes quite well what is needed to implement this mechanism (of course, YUI is not needed): http://www.nczonline.net/blog/2009/06/02/detecting-if-the-user-is-idle-with-javascript-and-yui-3/