This content has been marked as final.
Show 1 reply
-
1. Re: How to kept alive session for Login or home page
herberson Jul 12, 2010 10:40 PM (in response to maruthyshetty)Define, in pages.xml file, that the user login is required for the pages where you need session timeout.
For example:
<page view-id="/application/*" login-required="true"/>
In this case all pages under
[context path]/application/
had a timeout and redirect to login page when that occours.Remember, on
<pages />
tag (one of firsts lines of pages.xml file) you must have declarated the login page as I show below:<pages xmlns="http://jboss.com/products/seam/pages" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jboss.com/products/seam/pages http://jboss.com/products/seam/pages-2.2.xsd" no-conversation-view-id="/home.xhtml" login-view-id="/login.xhtml">
Herberson