You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Romain Manni-Bucau (JIRA)" <ji...@apache.org> on 2015/07/29 11:38:04 UTC
[jira] [Commented] (OWB-757) Tomcat has Session Fixation
Protection, will change sessionId upon login, cause sessionScope lost
[ https://issues.apache.org/jira/browse/OWB-757?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14645790#comment-14645790 ]
Romain Manni-Bucau commented on OWB-757:
----------------------------------------
Side note: tomee fixed it updating the session id even in 1.7.x (not sure anymore when exactly) so session is not lost after login. Would need an issue on TOMEE with a sample to reproduce ti dig into it.
Other note: with new impl (TomEE 7/OWB 1.6) no need of it at all.
> Tomcat has Session Fixation Protection, will change sessionId upon login, cause sessionScope lost
> -------------------------------------------------------------------------------------------------
>
> Key: OWB-757
> URL: https://issues.apache.org/jira/browse/OWB-757
> Project: OpenWebBeans
> Issue Type: Improvement
> Components: Context and Scopes
> Affects Versions: 1.1.6
> Reporter: chunlinyao
> Priority: Minor
>
> Tomcat has Session Fixation Protection, upon user login the sessionId will change.
> SessionContextManager track sessionContext by sessionId, which will cause sessionContext not found when sessionId changed.
> Can we put the sessionId in the session. and get it from session failback to session.getId()
> UPDATE:
> Sorry it's not related to SessionContextManager, I am using TomEE , the sessionId is provided by TomEE's
> CdiAppContextsService
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)