volosied commented on PR #473: URL: https://github.com/apache/myfaces/pull/473#issuecomment-1379111945
Yes, I saw Mojarra used cookies for flash too (at least for the scenario in the TCK). No idea why MyFaces changed. I see some mention here: https://issues.apache.org/jira/browse/MYFACES-3404 (`Add windowId to server side state saving algorithm`) ``` There are two points where this logic could be useful inside MyFaces Core : 1. Server side state 2. Flash scope But in practice the only really relevant is 1. To implement 2. it is necessary a "requestId". MyFaces FlashImpl uses a counter and store its value inside a cookie. To fix this scope properly, the best is create a ExternalContext wrapper and provide and alternate Flash object, but that sounds like something that can be done outside MyFaces Core. If you are using CDI scopes, it sounds reasonable to provide an alternate Flash scope in CODI. ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
