I am trying for Session Timeout Handling for my application for every 30 minutes. My specification: That I have to redirect to a login page when fails in login after user session is invalid.
User is redirected to logout action after timeout to invalidate the session.
I am new to prime faces and I have tried this but no use:
<session-config>
<session-timeout> 1 </session-timeout>
<error-page>
<exception-type>javax.faces.application.ViewExpiredException</exception-type>
<location>faces/login.xhtml</location>
</error-page>
</session-config>