• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

Session timeout with Spring Boot and Tomcat

 
Ranch Hand
Posts: 116
11
Hibernate Netbeans IDE Eclipse IDE Postgres Database Tomcat Server Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello everyone.

I'm trying to configure the session timeout for my application, and I've found that I should use the property server.servlet.session.timeout inside the application.properties. But it doesn't work at all.
Is there another configuration I need to do in order to set the timeout properly? I searched about it, and some people said that it work, but not for me.

Thanks.
 
Bartender
Posts: 20847
125
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
People seem to have some problems with that option.

The traditional way to set the session timeout is in the web.xml file, although it can also be done in servlet code.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!