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
Deryk Sinotte
created issue -
Ken Fyten
made changes -
Field | Original Value | New Value |
---|---|---|
Fix Version/s | 1.7 [ 10080 ] | |
Assignee Priority | P2 | |
Assignee | Mircea Toma [ mircea.toma ] |
Ken Fyten
made changes -
Security | Private [ 10001 ] |
Deryk Sinotte
made changes -
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 |
Mircea Toma
made changes -
Mircea Toma
made changes -
Mircea Toma
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
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
|
Ken Fyten
made changes -
Fix Version/s | 1.7RC1 [ 10123 ] | |
Fix Version/s | 1.7 [ 10080 ] |
Ken Fyten
made changes -
Fix Version/s | 1.7 [ 10080 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Assignee Priority | P2 | |
Assignee | Mircea Toma [ mircea.toma ] |
Re-introduce delayed session invalidation. Invalidate session immediately when invalidated by the hosted application.