摘要: 共同点: 它们都保存在浏览器,且同源的; 不同点: cookie 数据始终在同源的 http 请求中携带(即使不需要),也就是说 cookie 在浏览器和服务器之间来回传递,而 session Storage 和 local Storage 不会自动把数据发送给服务器,仅在本地保存。cookie 还 阅读全文
posted @ 2022-03-09 11:13 太轻描淡写了 阅读(73) 评论(0) 推荐(0) 编辑