Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

用全局session来判断用户是否登录吗 #74

Open
sltzwfy opened this issue May 15, 2022 · 0 comments
Open

用全局session来判断用户是否登录吗 #74

sltzwfy opened this issue May 15, 2022 · 0 comments

Comments

@sltzwfy
Copy link

sltzwfy commented May 15, 2022

请问是用存储在redis中的全局session来判断用户是否已经登录吗?如果是,那么拦截器是不是每次都要访问redis来确认全局session,那样redis的压力岂不是会很大?而且局部session还有什么意义呢?局部session无论怎样都是靠全局session来判断用户是否登录的?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant