![]() |
Spring Boot provides Spring Session auto-configuration for a wide range of data stores. When building a Servlet web application, the following stores can be auto-configured:
When building a reactive web application, the following stores can be auto-configured:
If a single Spring Session module is present on the classpath, Spring Boot uses that store
implementation automatically. If you have more than one implementation, you must choose
the spring.session.store-type=jdbc
Each store has specific additional settings. For instance, it is possible to customize the name of the table for the JDBC store, as shown in the following example: spring.session.jdbc.table-name=SESSIONS For setting the timeout of the session you can use the
|