会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
太轻描淡写了
开发中和学习过程中的一些笔记,仅用于日后开发加深印象
博客园
首页
新随笔
订阅
管理
2022年3月9日
cookie, sessionStorage, localStorage之间的差异
摘要: 共同点: 它们都保存在浏览器,且同源的; 不同点: cookie 数据始终在同源的 http 请求中携带(即使不需要),也就是说 cookie 在浏览器和服务器之间来回传递,而 session Storage 和 local Storage 不会自动把数据发送给服务器,仅在本地保存。cookie 还
阅读全文
posted @ 2022-03-09 11:13 太轻描淡写了
阅读(73)
评论(0)
推荐(0)
编辑
公告