This content has been marked as final.
Show 2 replies
-
1. Re: Possible to end been with Scope=SESSION?
sunfire Feb 19, 2008 12:58 PM (in response to jmahle)I think you have two choices to invalidate your HttpSession with Seam:
a) if you use Seam security features try
Identity.logout()
b) if you don't use Seam security features try
Session.instance().invalidate()
Both options will will clear out your HttpSession after the request ended.
Hope this helps, Thorsten
p.s.: you may also want to have a second look at your upload bean again because usually you shouldn't need SESSION scope for this.
-
2. Re: Possible to end been with Scope=SESSION?
shane.bryzak Feb 21, 2008 2:35 AM (in response to jmahle)You should definitely be using a conversation-scoped component for this. Look at RegisterAction in the seamspace example, it's conversation-scoped and receives an uploaded file.