Commit e72092a34156bd7b255c9c16d4d644771a422deb
1 parent
ade7aaae
设置session30分钟失效
Showing
1 changed file
with
1 additions
and
1 deletions
src/main/java/com/zteits/oa/configuration/session/HttpSessionConfig.java
... | ... | @@ -19,7 +19,7 @@ import org.springframework.session.web.http.HttpSessionStrategy; |
19 | 19 | * 2017/5/16 atao v1.0.0 创建 |
20 | 20 | */ |
21 | 21 | //@maxInactiveIntervalInSeconds |
22 | -@EnableRedisHttpSession(maxInactiveIntervalInSeconds=30*24*60*60) | |
22 | +@EnableRedisHttpSession(maxInactiveIntervalInSeconds=30*60) //30分钟 | |
23 | 23 | public class HttpSessionConfig { |
24 | 24 | |
25 | 25 | @Bean | ... | ... |