Do not use servlet session timeout for reactive web applications
This commit fixes the auto-configuration of Spring Session to use "server.servlet.session.timeout" as a fallback for Servlet-based web applications only. Closes gh-23752
This commit is contained in:
@@ -6736,7 +6736,7 @@ For instance, it is possible to customize the name of the table for the JDBC sto
|
||||
----
|
||||
|
||||
For setting the timeout of the session you can use the configprop:spring.session.timeout[] property.
|
||||
If that property is not set, the auto-configuration falls back to the value of configprop:server.servlet.session.timeout[].
|
||||
If that property is not set with a Servlet web appplication, the auto-configuration falls back to the value of configprop:server.servlet.session.timeout[].
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user