title: Application property "server.servlet.session.timeout" is not working in Spring Boot project
body: <p>According to the documentation of Spring Boot, session timeout can be configured by setting </p>
  
  <pre><code>server.servlet.session.timeout= 300s
  </code></pre>
  
  <p>in <code>application.properties</code> file. In <a href="https://stackoverflow.com/questions/40974955/spring-boot-java-config-set-session-timeout">this post</a> and in <a href="https://docs.spring.io/spring-boot/docs/1.4.x/reference/html/common-application-properties.html" rel="noreferrer">Spring Boot documentation</a> it is also said so. But unfortunately this is not working for me.</p>
  
  <p>Is there any other configuration to get expected result?</p>