First i would like to know if the session timeout in my web.xml is related to user inactivity or this timeout start when the user is logged?
I would also like to know what is the best practice when the session is timed out:
-using error-page for "ViewExpiredException"
<error-page>
<exception-type>javax.faces.application.ViewExpiredException
</exception-type>
<location>/login.xhtml</location>
</error-page>
Or
-using Idle Monitor with the same timeout value as my web.xml session timeout to redirect the user to the login page when the session expires.
Thanks for the answears Best regards,