摘要: 使用Cookie进行判断登录权限的小Demo 1.document.cookie 属性来创建 、读取、及删除 cookie 2.document.referrer 属性返回载入当前文档的来源文档的URL,如果是直接访问,则为null 3.重点在于登录后cookie的存储,读取cookie的值进行判断 阅读全文
posted @ 2019-08-22 17:00 Amayaliu 阅读(764) 评论(0) 推荐(0) 编辑