Details
Description
It's possible that this problem is not confined to Liferay but that's where I've found it so far.
What happens is that if you let a portlet session expire and then try and reload the page - either using the Reload button provided on the User Session Expired dialog or the browser's own Reload button - the reload fails as the User Session Expired dialog pops right back up.
I put some System.out calls where we communicate back that a session has expired and it appears that we have some session/icefacesID confusion:
IDVerifier.writeTo: session expired - id mismatch
incoming id: 4ht7iUpbGuFBw87bpI1xWA
stored id : jd_HYHggNVvpEsMkXRFOXg
The only way that I've found to get going again is to clear cookies AND use a new browser window. Clearing the cookies on their own does not seem to work.
What happens is that if you let a portlet session expire and then try and reload the page - either using the Reload button provided on the User Session Expired dialog or the browser's own Reload button - the reload fails as the User Session Expired dialog pops right back up.
I put some System.out calls where we communicate back that a session has expired and it appears that we have some session/icefacesID confusion:
IDVerifier.writeTo: session expired - id mismatch
incoming id: 4ht7iUpbGuFBw87bpI1xWA
stored id : jd_HYHggNVvpEsMkXRFOXg
The only way that I've found to get going again is to clear cookies AND use a new browser window. Clearing the cookies on their own does not seem to work.
Issue Links
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #15881 | Thu Feb 28 10:31:43 MST 2008 | mircea.toma | Give portlets a bit more time to shutdown properly. |
Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/servlet/SessionDispatcher.java
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #15867 | Wed Feb 27 15:38:30 MST 2008 | mircea.toma | Re-introduce delayed session invalidation. Invalidate session immediately when invalidated by the hosted application. |
Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/bridge/src/heartbeat.js
DEL /icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/core/IDVerifier.java MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/servlet/SessionDispatcher.java MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/servlet/InterceptingServletSession.java MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/context/View.java |