This content has been marked as final.
Show 2 replies
-
1. Re: Session management
sjmenden Aug 27, 2008 9:31 PM (in response to rbhayani)I recommend you read: http://in.relation.to/Bloggers/ImplementingGracefulSessionTimeoutWithSeamJSFAndJQuery post back if you have further questions.
-
2. Re: Session management
mcoffin Aug 27, 2008 10:30 PM (in response to rbhayani)Will this work for you:
Ensure your login.xhtml pages is at the top (root) of the web, and the pages you want to secure under /app/ or what ever you want to call it.
pages.xml
<page view-id="/app/*" login-required="true"> ... ... </page> <exception class="org.jboss.seam.security.NotLoggedInException"> <redirect view-id="/login.xhtml"> <message severity="warn">You must be logged in to use this feature, if you were previously logged in your session may have timed out.</message> </redirect> </exception>