Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Component/s: None
-
Labels:None
-
Environment:Portal portlet, Liferay portal, JBoss portal.
-
ICEsoft Forum Reference:
Description
It appears that, at least in the case of Liferay, that ICEfaces' Ajax communication has an adverse side effect when accessing the session. The Ajax requests generated by ICEfaces currently go directly to our own framework servlets (rather than through the portal container). Because the portal container never sees the Ajax requests, the lastAccessedTime of the session is never updated. The result is that, even though a user may continuously interact with a portlet, the session can timeout after the configured time.
Issue Links
- depends on
-
ICE-2520 ICEfaces Ajax requests should generate ActionRequests in portal environments.
-
- Closed
-
Seems it does not work for Websphere Portal. It seems that Websphere Portal uses two sessions
The above solution seems to only extend the portlet session. We unfortunately had use cases where the Portal Session timed out. I only managed to find a solution, by creating a dummy Portlet, which we could ping upon Ajax requests. A better solution would have been preferred though. See more here: http://jespertejlgaard.blogspot.com/2011/10/workaround-to-session-timeouts-in.html