ICEfaces
  1. ICEfaces
  2. ICE-9381

sessionExpiredRedirectURI - Not redirecting immediately for all open windows/tabs

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-1.8.2.GA_P06
    • Fix Version/s: EE-1.8.2.GA_P07
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      All
    • Assignee Priority:
      P1
    • Salesforce Case Reference:
    • Workaround Exists:
      Yes
    • Workaround Description:
      I found that instead of redirecting to an ICEfaces session timeout page, that if I redirected to a basic html page, the behavior was much more consistent.

      Description

      Scenario: An application has a main page where new pages can be opened in new browser windows/tabs. The application is set to redirect to an ICEfaces page upon session timeout. When the session times out due to inactivity, only a few pages are redirected to the time out page.

      The pages that are not immediately redirected so get redirected eventually once either the connection or heartbeat timeout is reached.

        Activity

        Arran Mccullough created issue -
        Arran Mccullough made changes -
        Field Original Value New Value
        Salesforce Case Reference 5007000000Tx4ycAAB
        Hide
        Arran Mccullough added a comment -

        Attached test case that shows the issue.

        Steps:

        • Load welcomeICEfaces.iface
        • Click on the two buttons to open new windows/tabs
        • Wait 1 min for the session to timeout.
        • The welcomeICEfaces.iface page and one other will be redirected. One page remains at its current location until timeout.

        Note: I also included the non-ICEfaces timeout page (timeout.html). To test this just change the param to use this page.

        Show
        Arran Mccullough added a comment - Attached test case that shows the issue. Steps: Load welcomeICEfaces.iface Click on the two buttons to open new windows/tabs Wait 1 min for the session to timeout. The welcomeICEfaces.iface page and one other will be redirected. One page remains at its current location until timeout. Note: I also included the non-ICEfaces timeout page (timeout.html). To test this just change the param to use this page.
        Arran Mccullough made changes -
        Attachment Case12242Example.war [ 16095 ]
        Attachment Case12242Example.zip [ 16096 ]
        Ken Fyten made changes -
        Fix Version/s EE-1.8.2.GA_P07 [ 10672 ]
        Ken Fyten made changes -
        Assignee Mircea Toma [ mircea.toma ]
        Assignee Priority P1 [ 10010 ]
        Hide
        Mircea Toma added a comment - - edited

        Modified bridge to keep track of all view IDs in all the windows/tabs. When session expired message is received broadcast notifications to all views to force them receive session expired message.

        Previously the session expired is received only by the window owning the blocking connection, the other windows would sometime receive the session expired message when they would acquire the blocking connection while the other window was redirecting.

        Show
        Mircea Toma added a comment - - edited Modified bridge to keep track of all view IDs in all the windows/tabs. When session expired message is received broadcast notifications to all views to force them receive session expired message. Previously the session expired is received only by the window owning the blocking connection, the other windows would sometime receive the session expired message when they would acquire the blocking connection while the other window was redirecting.
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #36585 Tue Jul 02 15:54:58 MDT 2013 mircea.toma ICE-9381 Keep track of all view IDs (in all the windows/tabs) and when session expired message is received broadcast notifications to all views to force them receive session expired message.
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/bridge/src/application.js
        Mircea Toma made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Carmen Cristurean added a comment - - edited

        Verified with ICEfaces 1.8.2-P07 Build2 in IE10, Chrome27, Firefox17/21.

        Show
        Carmen Cristurean added a comment - - edited Verified with ICEfaces 1.8.2-P07 Build2 in IE10, Chrome27, Firefox17/21.
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Arran Mccullough
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: