I have created a SpringBoot MVC/Security app 1.2.2.RELEASE and my application.properties contains server settings like
#Tomcat port and contextPath details s
I don't know for some reason only setting
server.session.timeout=120
didn't work for me however, when I set both session timeout and cookie max age like below:
server.session.cookie.max-age=120 server.session.timeout=120
it works perfectly