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

        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.
        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.
        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.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: