@ -98,15 +100,23 @@ public class SessionAutoConfigurationTests extends AbstractSessionAutoConfigurat
@@ -98,15 +100,23 @@ public class SessionAutoConfigurationTests extends AbstractSessionAutoConfigurat
@ -184,4 +194,9 @@ public class SessionAutoConfigurationTests extends AbstractSessionAutoConfigurat
@@ -184,4 +194,9 @@ public class SessionAutoConfigurationTests extends AbstractSessionAutoConfigurat
@ -445,6 +445,7 @@ content into your application. Rather, pick only the properties that you need.
@@ -445,6 +445,7 @@ content into your application. Rather, pick only the properties that you need.
# SPRING SESSION ({sc-spring-boot-autoconfigure}/session/SessionProperties.{sc-ext}[SessionProperties])
spring.session.store-type= # Session store type.
spring.session.timeout= # Session timeout. If a duration suffix is not specified, seconds will be used.
@ -6014,7 +6014,8 @@ the name of the table for the JDBC store, as shown in the following example:
@@ -6014,7 +6014,8 @@ 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 `spring.session.timeout` property.
If that property is not set, the auto-configuration will fallback to the value of `server.servlet.session.timeout`.