This content has been marked as final.
Show 2 replies
-
1. Re: End session on error page
asookazian Jul 17, 2009 5:34 PM (in response to oneworld95)"The proper way to invalidate the session would be to call #{org.jboss.seam.web.session.invalidate}."
source: |http://lists.jboss.org/pipermail/seam-dev/2008-April/000195.html|
So try this:
<page view-id="/error.xhtml">
<action execute="#{org.jboss.seam.web.session.invalidate}"/>
</page> -
2. Re: End session on error page
oneworld95 Jul 17, 2009 5:41 PM (in response to oneworld95)Thanks, John. Just what I needed :)
A followup: At what point during the page lifecycle is the invalidate() method called? I'm displaying the exception details on the error.xhtml page; will the exception message still be there when the page loads?