Details
-
Type: New Feature
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: EE-3.3.0.GA, 4.0.BETA, 4.0
-
Component/s: Framework
-
Labels:None
-
Environment:ICEfaces
-
Assignee Priority:P1
-
Affects:Documentation (User Guide, Ref. Guide, etc.)
Description
It is useful to inform the user when their session times out (or is about to time out). In the past, ICEfaces applications have often used Ajax Push for this feature, but Ajax Push should not be required.
A related JIRA is
ICE-8138. However, this introduces a dependency on jQuery and may not have all the necessary features.The full implementation would allow a server-side component to encode the current session expiry time in the page. This would be updated with each user interaction. A JavaScript setTimeout would wake up just prior to this time and check whether the session was about to expire (if the expiry value had been updated, the setTimeout would be restarted).