Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要手动设置一个 cookie 来测试我网站的登录页面。但是,我不确定如何设置路径选项。我不断收到“参数太多”的警告。有人知道用Firefox Web Developer 工具栏来做吗?截图如下:
当它显示“[options]”时,您应该输入类似--switch. 点击 后-,您通常会获得所有可用选项的自动完成建议。
--switch
-
要回答您的特定问题:
cookie set aName aValue --path /aPath