Using java code and not in web.xml, I need to ensure the session is created at a particular page with no time out. Once the user goes past this page, the same session needs to have a timeout of 10 minutes.
//I am using this to set to no time limit:
session.setMaxInactiveInterval(-1);
//And i am using the same code but with different value to set the 10 minute limit:
session.setMaxInactiveInterval(TEN_MINUTES);
However, the session never times out.. which makes me think that once the sessions inactive interval is set to no limit, it cannot be undone.
I need to get this working like i described.
THANKS...