Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-3936

Flash object requires cleanup strategy when client window feature is used

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.5
    • Fix Version/s: 2.2.6
    • Component/s: JSR-344
    • Labels:
      None

      Description

      In 2.2.x a change was done to Flash object, so now it uses the client window id and store the token into session instead use a cookie like it was done in 2.1.x/2.0.x

      The problem is there is no cleanup strategy in place. So if you create n client window ids, there are n tokens in session and the session will only be cleaned up when the session is invalidated.

      The solution is use a LRU map to hold the tokens, so when a client window / token is discarded, the objects stored in Flash scope associated to that couple could be removed.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                lu4242 Leonardo Uribe
                Reporter:
                lu4242 Leonardo Uribe
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: