Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 2.0-Alpha1
-
Fix Version/s: 2.0-Alpha3, 2.0.0
-
Component/s: Framework
-
Labels:None
-
Environment:ICEfaces 2.0
Description
Notification of session expiry is a useful feature in ICEfaces 1.x and should be incorporated into ICEfaces 2.0.
Detecting session shutdown is possible through standard Servlet listeners.
An application may require notification of session shutdown, but may not require other push features. Push notification of session shutdown could be activated by the connection status component itself.
If a notification is received, but the session has expired, it is likely that the "refresh" phase will result in a View Expired exception. It should be possible to detect whether a session was newly created at this point to augment the View Expired and display it as a session expired to the user (it is not clear that a user will find a useful distinction between View Expired and Session Expired, however).