There is a configuration in web.xml to configure session timeout.
<!-- It means after 30 minutes session timed-out--> <session-config> <session-timeout>30</session-timeout> </session-config>
Thanks for reply Khosro Asgharifard
The configuration which you sent timeouts the session after 30 seconds.
But how can i achieve following in a single context
First :Can we make session never to time out. For example home page
Second :Can we log out a user after a fixed time.For Example other pages
Thanks in Advance