You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Mark Struberg (Created) (JIRA)" <de...@myfaces.apache.org> on 2011/11/17 09:18:51 UTC

[jira] [Created] (EXTCDI-242) improve ClientSideWindowHandler windowId passing via cookie

improve ClientSideWindowHandler windowId passing via cookie
-----------------------------------------------------------

                 Key: EXTCDI-242
                 URL: https://issues.apache.org/jira/browse/EXTCDI-242
             Project: MyFaces CODI
          Issue Type: Bug
          Components: JEE-JSF12-Module, JEE-JSF20-Module
    Affects Versions: 1.0.1
            Reporter: Mark Struberg
            Assignee: Jakob Korherr


Currently passing the windowId via cookie has the same issues as the JSF ViewMap and FlashScope. If a user is 'too fast' in clicking on different links (imagine a h:dataTable of 'edit customer' and some user clicking through the list with the middle mouse button), then we will get the wrong windowId in the cookie.

By using the clientsideWindowHandler we can also easily introduce a random token which we add to the request and store the cookie with the windowId in it. 

Actually I think we can even add the windowId directly to each URL, and make the intermediate windowhandler.html remove or fix the windowId based on the information in window.name.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (EXTCDI-242) improve ClientSideWindowHandler windowId passing via cookie

Posted by "Mark Struberg (Resolved) (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/EXTCDI-242?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Struberg resolved EXTCDI-242.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.0.2
    
> improve ClientSideWindowHandler windowId passing via cookie
> -----------------------------------------------------------
>
>                 Key: EXTCDI-242
>                 URL: https://issues.apache.org/jira/browse/EXTCDI-242
>             Project: MyFaces CODI
>          Issue Type: Bug
>          Components: JEE-JSF12-Module, JEE-JSF20-Module
>    Affects Versions: 1.0.1
>            Reporter: Mark Struberg
>            Assignee: Mark Struberg
>             Fix For: 1.0.2
>
>
> Currently passing the windowId via cookie has the same issues as the JSF ViewMap and FlashScope. If a user is 'too fast' in clicking on different links (imagine a h:dataTable of 'edit customer' and some user clicking through the list with the middle mouse button), then we will get the wrong windowId in the cookie.
> By using the clientsideWindowHandler we can also easily introduce a random token which we add to the request and store the cookie with the windowId in it. 
> Actually I think we can even add the windowId directly to each URL, and make the intermediate windowhandler.html remove or fix the windowId based on the information in window.name.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira