在Chrome devtools中将cookie设置为安全吗? [英] Set cookies as secure in Chrome devtools?
本文介绍了在Chrome devtools中将cookie设置为安全吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在Devtools->应用程序-> Cookies中,您可以创建和修改Cookies。但是,我无法设置安全
, httponly
或相同站点
。如何更新Cookie以通过UI进行保护?我在Win10上使用Chrome 79。
解决方案
您目前无法执行此操作。我提出了
In Devtools -> Application -> Cookies, you can create and modify cookies. However, I can't set secure
, httponly
, or samesite
. How can I update a cookie to secure through the UI? I'm using Chrome 79 on Win10.
解决方案
You cannot currently do this. I have raised a feature request to enable it.
Update: This has been added to DevTools and is available as of Chrome 81.
这篇关于在Chrome devtools中将cookie设置为安全吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文