[
https://issues.jboss.org/browse/CDI-497?page=com.atlassian.jira.plugin.sy...
]
Romain Manni-Bucau commented on CDI-497:
----------------------------------------
Sure,
if invalidate is called during a request, session scope needs to be destroyed as well
otherwise all usage of session scope beans later in the request is wrong and with
corrupted data.
session scope doesn't follow session lifecycle
----------------------------------------------
Key: CDI-497
URL:
https://issues.jboss.org/browse/CDI-497
Project: CDI Specification Issues
Issue Type: Feature Request
Reporter: Romain Manni-Bucau
ATM session destroyed event is bound to the request. this means a logout will not be able
to access the right session when destroyed since most of the time logout = session
destruction and then you can recreate a session (login case).
Would be great to align CDI scopes - and then events - to the real lifecycle of the
underlying observed event.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)