Usually to set the session timeout, you go to your Tomcat installation, conf folder, open web.xml file and change the default value:
<session-config>
    <session-timeout>30</session-timeout>
</session-config> Hope this helps.
