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

41. cookie、本地存储和会话存储有什么区别 #58

Open
webVueBlog opened this issue Jun 9, 2022 · 0 comments
Open

41. cookie、本地存储和会话存储有什么区别 #58

webVueBlog opened this issue Jun 9, 2022 · 0 comments

Comments

@webVueBlog
Copy link
Owner

特征 cookie 本地存储 会话存储
在客户端或服务器端访问 服务器端和客户端 仅限客户端 仅限客户端
寿命 使用 Expires 选项配置 直到被删除 直到标签关闭
SSL 支持 支持的 不支持 不支持
最大数据大小 4KB 5 MB 5MB
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant