[jboss-jira] [JBoss JIRA] (WFLY-2884) WildFly issuing new cookie for every request, when faces view is not directly in root (/ )
André Prata (JIRA)
issues at jboss.org
Mon Feb 10 09:57:30 EST 2014
[ https://issues.jboss.org/browse/WFLY-2884?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
André Prata updated WFLY-2884:
------------------------------
Attachment: test.war
Using this "test.war", the following happens. The problem is 2.1, which does not happen if we start the new session going from the root directory.
1- Open the "/admin/index.html" address in a new browser session
2- Press the command button
2.1- ViewExpiredException
3- Open "/index.html"
4- Press the command button
4.1- "command executed"
5- Open "/admin/index.xhtml" again
6- Press the command button
6.1- "command executed"
> WildFly issuing new cookie for every request, when faces view is not directly in root (/ )
> ------------------------------------------------------------------------------------------
>
> Key: WFLY-2884
> URL: https://issues.jboss.org/browse/WFLY-2884
> Project: WildFly
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Web (Undertow)
> Affects Versions: 8.0.0.CR1
> Reporter: André Prata
> Assignee: Stuart Douglas
> Attachments: test.war
>
>
> Hello everyone.
> I have seen possibly similar issues, but people just aren't able to reproduce them anymore and they seem to be closed without further inspection. Maybe this is the same problem.
> I started seeing a problem in a new application I'm developing. For views such as "/view.xhtml" everything is working fine. But if I move the view to another directory, e.g. "/admin/view.xtml", I get ViewExpiredExceptions when interacting with backing beans.
> Two things:
> - This does not happen if there is already a cookie associated with the session. I.e., I can only reproduce the issue if the first cookie is created by accessing "/admin/view.xhtml". Accessing something in the root and then the other directories works just fine (the server won't send set-cookies again).
> - When accessing "/admin/view.xhtml" new cookies are issued for every .xhtml request. Fetching PrimeFaces .js.xhtml files after the initial page is loaded, for example, triggers new sessions.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list