What is the default session timeout and how to configure it when using the Spring Session with Redis as the backend
问题 My application currently use Spring Session together with Redis as the backend. I searched into the official documentation for Spring Session but was not able to find what the default session timeout is when using that module. Also I am not sure how to change that default timeout if necessary. Can someone please advise? 回答1: The easiest way to configure session timeout when using redis repository is @EnableRedisHttpSession(maxInactiveIntervalInSeconds = 60) The session expires when it is no