Dose anybody know how to set session timeout greater than 30 minutes? these two methods wont work (default to 30 min).
this will set your session to keep everything till the browser is closed
session.setMaxinactiveinterval(-1);
and this should set it for 1 day
session.setMaxInactiveInterval(60*60*24);