springboot2 设置session过时的配置spring
server.servlet.session.timeout = 1800
而再也不是springboot
server.session.timeout=1800