Well i implemented a simple web app, and was trying to set the session-timeout to 30 minutes or whatever in web.xml in tomcat, but somehow the application gets 600 seconds as the value of session.getMaxInactiveInterval(). If i set by setMaxInactiveInterval(30) it takes 30 minutes, but otherwise it is always 600 seconds. Even if i change the value to something else in web.xml it does not matter!
If i know what are the possible places that session timeout property is set, i think i can resolve it. Please help me in this.