ICEfaces
  1. ICEfaces
  2. ICE-2748

Unable to reload portal page after session expires

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.7Beta1
    • Fix Version/s: 1.7RC1, 1.7
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      portal portlet Liferay

      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.

        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 -
          Link This issue is duplicated by ICE-2152 [ ICE-2152 ]
          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.
          ICE-2748
          Files Changed
          Commit graph MODIFY /icefaces/trunk/icefaces/bridge/src/heartbeat.js
          Commit graph DEL /icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/core/IDVerifier.java
          Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/servlet/SessionDispatcher.java
          Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/servlet/InterceptingServletSession.java
          Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/context/View.java
          Mircea Toma made changes -
          Link This issue depends on ICE-2731 [ ICE-2731 ]
          Mircea Toma made changes -
          Link This issue depends on ICE-1909 [ ICE-1909 ]
          Hide
          Mircea Toma added a comment -

          Re-introduce delayed session invalidation. Invalidate session immediately when invalidated by the hosted application.

          Show
          Mircea Toma added a comment - Re-introduce delayed session invalidation. Invalidate session immediately when invalidated by the hosted application.
          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.
          ICE-2748
          Files Changed
          Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/servlet/SessionDispatcher.java
          Hide
          Boudewijn Van Weert added a comment -

          Hello,

          I show a portlet in liferay correctly, but then I get a session expired message on the console (the browser window says the portlet is not available) when I log out and then show the same portlet again (as anonymous user or as another user). Does the patch solve this problem also?
          No "session expired" message is shown in the window.

          Show
          Boudewijn Van Weert added a comment - Hello, I show a portlet in liferay correctly, but then I get a session expired message on the console (the browser window says the portlet is not available) when I log out and then show the same portlet again (as anonymous user or as another user). Does the patch solve this problem also? No "session expired" message is shown in the window.
          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 ]

            People

            • Assignee:
              Unassigned
              Reporter:
              Deryk Sinotte
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: