This content has been marked as final.
Show 3 replies
-
1. Re: Session not becoming null using session.invalidate() in Wildfly 9
jaikiran Mar 29, 2017 1:23 AM (in response to nayal.ashish)Are you expecting the session object reference that you are invoking invalidate() on, to be null after that call completes? If that's the case, then it's a wrong expectation. That's not how Java object references work. Unless you set that reference to null, it will still point to the object it was pointing to before. Of course, that doesn't mean the session is still active after the invalidate() call.
-
2. Re: Session not becoming null using session.invalidate() in Wildfly 9
nayal.ashish Mar 29, 2017 1:37 AM (in response to jaikiran)I want to expire JSESSIONID after logout.So that user wont be able to login with same JSESSIONID
-
3. Re: Session not becoming null using session.invalidate() in Wildfly 9
pferraro Mar 29, 2017 9:27 AM (in response to nayal.ashish)nayal.ashish Are you able to reproduce the issue with WildFly 10.1?