[软件工程] 让我知道你是谁:HTTP的Cookie机制.pdf

[复制链接]
发表于 2022-4-28 08:37:49
在之前的第 13 课和第 14 课中,我说过 HTTP 是“无状态的”,这既是优点也是缺点。 优点是服务器没有状态差异,可以轻松集群,缺点是不能支持需要状态记录的事务操作。
好在 HTTP 协议是可扩展的,后来发明的 Cookie 技术为 HTTP 添加了“内存能力”。
什么是饼干?
不知道大家有没有看过克里斯托弗·诺兰执导的经典电影《记忆碎片》,里面的主人公患有短期健忘症,记不起最近发生的事情。

(In previous lessons 13 and 14, I said that HTTP is "stateless", which is both an advantage and a disadvantage. The advantage is that the server has no state difference and can be easily clustered. The disadvantage is that it can not support transaction operations requiring state records.Fortunately, the HTTP protocol is extensible, and the cookie technology invented later adds "memory capability" to http.What are cookies?I wonder if you have seen the classic film "memory fragments" directed by Christopher Nolan, in which the protagonist suffers from short-term amnesia and can't remember what happened recently.)

[下载]08374959217.rar




上一篇:深入浅出Ext JS(第2版).pdf
下一篇:生鲜速递:HTTP的缓存控制.pdf

使用道具 举报

Archiver|手机版|小黑屋|吾爱开源 |网站地图

Copyright 2011 - 2012 Lnqq.NET.All Rights Reserved( ICP备案粤ICP备14042591号-1粤ICP14042591号 )

关于本站 - 版权申明 - 侵删联系 - Ln Studio! - 广告联系

本站资源来自互联网,仅供用户测试使用,相关版权归原作者所有

快速回复 返回顶部 返回列表