title: Springboot app session timeout
body: <p>I have created a SpringBoot MVC/Security app 1.2.2.RELEASE and my application.properties contains server settings like</p>
  
  <pre><code>#Tomcat port and contextPath details
  server.port=8080
  server.contextPath=/test
  #server.session-timeout=120
  server.sessionTimeout=120
  </code></pre>
  
  <p>The <a href="http://docs.spring.io/spring-boot/docs/current-SNAPSHOT/reference/htmlsingle/#common-application-properties-security">documentation</a> states </p>
  
  <pre><code>server.session-timeout= # session timeout in seconds
  </code></pre>
  
  <p>but the <a href="https://github.com/spring-projects/spring-boot/blob/master/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/ServerProperties.java">ServerProperties.java</a> uses sessionTimeout;</p>
  
  <p>If you look at the application.properties code I have posed, I have tried both independently and together, but I don't get timed out after 2 minutes, I don't have any other code explicitly written to perform any session handeling.</p>
  
  <p>Has anyone come across this issue? What am I missing or doing wrong?</p>