This content has been marked as final.
Show 5 replies
-
1. Re: Identity.logout doesn't destroy my session scoped beans
lightguard Sep 30, 2011 1:19 PM (in response to lholmquist)Seems to me like this sort of question was brought up before and I think there's a JIRA issue for it. For whatever reason Identity.logout doesn't invalidate the session. You could make that call manually though and things should work as expected.
-
2. Re: Identity.logout doesn't destroy my session scoped beans
lholmquist Sep 30, 2011 2:07 PM (in response to lholmquist)I figured it was in JIRA but i didn't actually look.
Things work as excepted if i just do the call manually
-
3. Re: Identity.logout doesn't destroy my session scoped beans
kwutzke Oct 21, 2011 1:08 AM (in response to lholmquist)Can you please post your solution?
Thanks
Karsten -
4. Re: Identity.logout doesn't destroy my session scoped beans
lightguard Oct 21, 2011 1:39 AM (in response to lholmquist)Karsten,
Get a handle on the current session either through injection using Seam Servlet / Solder (in 3.1.0) and call invalidate()
-
5. Re: Identity.logout doesn't destroy my session scoped beans
lightguard Oct 21, 2011 1:39 AM (in response to lholmquist)Oops, either through injection or if you're using JSF via the FacesContext