You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Jakob Korherr (JIRA)" <de...@myfaces.apache.org> on 2010/12/21 12:11:01 UTC

[jira] Commented: (MYFACES-3005) Only send Flash cookie if needed

    [ https://issues.apache.org/jira/browse/MYFACES-3005?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12973571#action_12973571 ] 

Jakob Korherr commented on MYFACES-3005:
----------------------------------------

Checking our FlashImpl, this »might« cause problems, because in theory we should add the cookie as soon as possible to the response (before it is committed), but for this issue we have to wait until the first data is in the render-map and this could be after the response has been committed.

Thus I think we may have to introduce a config parameter saying that all data will be added to the Flash scope before the response is committed, in order to make this improvement. Because otherwise users could run into problems if they are not aware of this fact!

Suggestions are welcome!

> Only send Flash cookie if needed
> --------------------------------
>
>                 Key: MYFACES-3005
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3005
>             Project: MyFaces Core
>          Issue Type: Improvement
>          Components: JSR-314
>    Affects Versions: 2.0.3
>            Reporter: Jakob Korherr
>            Assignee: Jakob Korherr
>
> As pointed out by Ganesh on the mailing list [1], we do not always have to send the Flash cookie oam.Flash.RENDERMAP.TOKEN (e.g. when there is no data in the Flash scope).
> [1] http://old.nabble.com/oam.Flash.RENDERMAP.TOKEN-ts30491897.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.