[cdi-dev] [JBoss JIRA] (CDI-497) session scope doesn't follow session lifecycle

Antonio Goncalves (JIRA) issues at jboss.org
Sat Sep 26 10:55:00 EDT 2015


    [ https://issues.jboss.org/browse/CDI-497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13112720#comment-13112720 ] 

Antonio Goncalves commented on CDI-497:
---------------------------------------

In Servlet 3.1 §7.5 it's written : 

{quote}
The session invalidation will not take effect until all servlets using that session have exited the service method
{quote}


> 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
>             Fix For: 2.0 (discussion)
>
>
> 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.4.11#64026)



More information about the cdi-dev mailing list