12 2023 档案
摘要:一、cookie的种类 sessionID 这个ID是会话性的,只要关闭了当前浏览器,这个ID会消失,需要调用getSessoin重新获取一个新的session 会话性cookie 这个cookie也是会话性的 即使性cookie 这个cookie只要离开的该请求或者是页面,就会消失 持久性cook
阅读全文
摘要:我: 那么当浏览器关闭的时候,当再次访问这个地址的时候,为什么之前设置的cookie没有被删除掉?而且按照你说的这次可能会生成一个新的sessionID,那么cookie里面的其他数据,它是如何获取上一次的cookie的信息,而且它是如何知道是这个客户端访问的?而不是其他客户端? AI: 当浏览器关
阅读全文
摘要:一、问题: 1、Question requirements After a difficult battle, the general decided to reward the officers under his opponent. The rules were as follows: the
阅读全文