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 到底是个啥,不要跟 session id 搞混了 #108

Open
lovelmh13 opened this issue Jul 16, 2021 · 0 comments
Open

session 到底是个啥,不要跟 session id 搞混了 #108

lovelmh13 opened this issue Jul 16, 2021 · 0 comments

Comments

@lovelmh13
Copy link
Owner

lovelmh13 commented Jul 16, 2021

关于 session ,看这个可以: 什么是 session

之前理解的 session 一直都是 session id。session id 只是 session 的一种实现形式。由于 session id 是存在某个机器上,当有多台机器的话,就不方便了。而 token 是存在数据库的,没啥事儿。 token 也是一种 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