I tried to set the Session timeout for particular users using session.setMaxInactiveInterval(30*60)
30 minutes . But by default it's assigned to 86400 seconds (24 hrs).
Also tried in Web.xml
<session-config>
<session-timeout>30</session-timeout> // Session timeout assigned for all the users
</session-config>