lerry903 / RuoYi

基于SpringBoot2.1的权限管理系统 易读易懂、界面简洁美观。 核心技术采用Spring、MyBatis、Shiro没有任何其它重度依赖。直接运行即可用

Home Page:http://www.ruoyi.vip

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

多线程时 shiro session 与 springboot内置Tomcat session 的cookie名冲突

LouisYi-n opened this issue · comments

在使用多线程的过程中,偶尔会出现报错:
org.apache.shiro.session.UnknownSessionException: There is no session with id [800e3201-637e-4c7b-988a-b73dc7b13d4b]
用户其他功能是正常使用的,维度多线程时错误。
ShiroConfig 类是否设置shiro session的cookie 名