spring boot学习5之session+redis解决session共享问题

          应用的集群部署或分布式部署,经常遇到session共享的问题,要么在nginx代理解决(比如ip hash),要么在tomcat的context.xml配置redis。spring boot也提供了session用redis解决共享的方法。       pom.xml [html] view plain copy <parent>               <groupId>
相关文章
相关标签/搜索