Then search to open out shiro online tutorials, found that the problem is, now I just use judgment s.g etAttribute (DefaultSubjectContext. Whether PRINCIPALS_SESSION_KEY null to statistics the number of online and session list,
Want to ask, where I could configuration is wrong, or that this kind of situation?
I configuration web. XML reduce shiro filter to remove static resources and so on reading session, just reduce, did not change, this kind of bugs,
Of new, under the guidance of the great god, please, what about mistakes,
Part of the configuration screenshot
CodePudding user response:
You hit a breakpoint see your request SESSIONID is a coming insideCodePudding user response:
The solution? To ask why the session after the destruction of getActiveSessions (). The size () to get the number of the session - 1CodePudding user response:
Brother how to solve? I use sessionDAO getActiveSessions () find the session to express will also be a few more