Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
418 views
in Technique[技术] by (71.8m points)

spring-boot 开启tomcat session

[原因描述]
一个项目从tomcat重写为spring-boot,之前是将用户信息保存到session中,tomcat在关闭时session会钝化到硬盘上,使用spring-boot重写后,关闭spring-boot,session不会钝化到硬盘上

[问题]
如何开启spring-boot的session钝化功能


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神解答

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share
...