phpsessid 续问
来源:7-2 cookie-介绍

All_Good
2019-06-26
老师,谢谢您的及时回答。刚才那个回复不能添加图片,所以我重新提问了。隐身模式看不到phpsessid了,隐身模式是disabled cookies and extensions 了,所以它消失了?我尝试在一个url(http://localhost:8000/api/blog/list)下删除了phpsessid,http://localhost:8000/api/blog/detail?id=2 下也没有显示了。 这个是之前使用xampp环境下运行php留下的吗?我stackoverflow了一下,有人回答(It’s the identifier for your current session in PHP. If you delete it, you won’t be able to access/make use of session variables. I’d suggest you keep it.).他的意思是,我session_start(),它就会出现了? 但是我现在没有开启xampp,为什么它也在呢?
写回答
1回答
-
应该是跟你的环境有关系,具体原因我也不清楚,对 php 不是很熟悉。
隐身模式下不会禁止 cookie 的,否则隐身模式就实现不了登录了。
如果没有其他问题,不影响继续学习,建议先别管它,继续往下看教程吧。
012019-06-26
相似问题