Windows 10 已于2025年10月14日停止支持。如果您正在使用 Windows 10,参见 这篇文章

Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解
已解决 已存档

How to set cookies in Firefox browser

vadval15 已回复
vadval15

Now the browser version Firefox Quantum Extended Support Release 68.4.1esr (32-bit) for Alt Linux is installed on my computer. Upon request by the POST method in the specified browser from the Apache server on the same computer loads a static web page with the following META tag in its header: <META HTTP-EQUIV="Set-Cookie" CONTENT="name=password; PATH=/"> After that, cookies must be created in the browser. Really they are created - in other browsers (Chrome and Opera), but for some reason they ceased to be created in the Firefox browser. What is the reason for this and is it possible to resume and track their creation in Firefox? I would be grateful for any answer on this question.

Now the browser version Firefox Quantum Extended Support Release 68.4.1esr (32-bit) for Alt Linux is installed on my computer. Upon request by the POST method in the specified browser from the Apache server on the same computer loads a static web page with the following META tag in its header: <META HTTP-EQUIV="Set-Cookie" CONTENT="name=password; PATH=/"> After that, cookies must be created in the browser. Really they are created - in other browsers (Chrome and Opera), but for some reason they ceased to be created in the Firefox browser. What is the reason for this and is it possible to resume and track their creation in Firefox? I would be grateful for any answer on this question.
定位到答案原位置

选择的解决方案

Hi vadval15, it has become customary to set cookies using HTTP headers (or JavaScript) rather than meta tags. As of Firefox 68, you can no longer use the meta tags. See:

https://www.fxsitecompat.dev/en-CA/docs/2019/setting-cookies-with-meta-http-equiv-is-no-longer-allowed/

所有回复 (9)

Hello Vadval15....


you go through these steps..


Click Tools > Options. Click Privacy in the top panel. Click the Cookies tab. Select the checkbox labeled 'Allow sites to set cookies.

Thank you for the answer. I'm sorry, but I have a different menu in the Firefox browser. In my menu, the site has permission to create cookies, but for some reason it cannot create them.

Hello...

  • Click the menu button. ...
  • Select the Privacy & Security panel and go to the Cookies and Site Data section.
  • Make sure Accept cookies and site data from websites (recommended) is selected.
  • Make sure Accept third-party cookies and site data is set to Always. ...
  • Click Exceptions….

Thank you for your advice, but Firefox already has permission to accept cookies from my site, nevertheless they are not accepted anyway.

由vadval15于修改

Hello vadval,

Please visit the link resolved the issues 

https://support.mozilla.org/en-US/kb/websites-say-cookies-are-blocked-unblock-them

I hope resolve your problem then reply back to me.

Regards, Arman

Thank you very much for your advice. Please tell me where I can read cookies from a specific site in the Firefox browser.

Preferences. Select the Privacy & Security panel and go to the Cookies and Site Data section. Make sure Accept cookies and site data from websites (recommended) is selected. Make sure Accept third-party cookies and site data is set to Always.

选择的解决方案

Hi vadval15, it has become customary to set cookies using HTTP headers (or JavaScript) rather than meta tags. As of Firefox 68, you can no longer use the meta tags. See:

https://www.fxsitecompat.dev/en-CA/docs/2019/setting-cookies-with-meta-http-equiv-is-no-longer-allowed/

Thank you from the bottom of my heart, Mr jscher2000, for solving this problem!