[英]How to clear or delete a browser session with firefox developer tools
I used to be able to remove a browser session in Firefox developer tools. 我曾经能够在Firefox开发人员工具中删除浏览器会话。 Now, it seems I can't?
现在,似乎我不能? I've enabled viewing the storage tab and I can see the session but it no longer gives me the option to remove it.
我已启用查看存储选项卡,我可以看到会话,但它不再让我选择删除它。
My reason for wanting to remove a session is for web development. 我想要删除会话的原因是用于Web开发。 My site stores nav changes in a PHP session and I would like to not have to completely kill the browser and re-open.
我的网站在PHP会话中存储导航更改,我不想完全杀死浏览器并重新打开。
Any ideas? 有任何想法吗? Using FF 39.0
使用FF 39.0
Once this has been done you will just have to refresh your page and allow your PHP to check for a valid session, and when it does not find one it will create a new session and save a new PHPSESSID cookie to your browser as a brand new session that you can do what you like with. 完成此操作后,您只需刷新页面并允许PHP检查有效会话,当它找不到会话时,它将创建一个新会话并将新的PHPSESSID cookie作为全新的保存到您的浏览器中会话,你可以做你喜欢的事情。
There is a better way described here: 这里有一个更好的方法:
https://developer.mozilla.org/en-US/docs/Tools/Storage_Inspector https://developer.mozilla.org/en-US/docs/Tools/Storage_Inspector
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.