title: How do I set session timeout in seconds in web.xml?
body: <p>I have a requirement to set the session timeout of 40 seconds. I know we keep normally to 20 minutes.</p>
  <p>But my current application requirement is to keep the session timeout to 40 seconds. The web.xml is taking only integer value as 1 but it is not taking 0.6. Is there any way to write this? We are running our java web application on Apache tomcat server.</p>
  <p>So how do I set session timeout in seconds in web.xml?</p>