搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

firefox 44 doesn't use my current cookies .. Had to revert to 43 to fix the issue

  • 3 回覆
  • 4 有這個問題
  • 3 次檢視
  • 最近回覆由 EzzTarek

more options

I just updated today to Firefox 42.0.2 and for some reason, it refuses to use my current cookies and creates a new empty cookies file on first launch. It's worth noting that the new cookies file works fine as I tried logging in some site and it remembers me. The question is about why my current cookies before update can't be used and how to fix that.

I just updated today to Firefox 42.0.2 and for some reason, it refuses to use my current cookies and creates a new empty cookies file on first launch. It's worth noting that the new cookies file works fine as I tried logging in some site and it remembers me. The question is about why my current cookies before update can't be used and how to fix that.

被選擇的解決方法

The real question is still unanswered but I have fixed my problem .. I still don't know why Firefox 43 works fine with cookies database while Firefox 44 rejects it.

I deleted all the cookies that I don't need. Fortunately the problem was triggered by one or more of the deleted cookies.

Deleting the cookies one by one is really slow and boring especially that I just needed to keep few cookies so I edited the cookies sqlite database directly.

I will leave here a simple version of the SQL command I used in case anyone was interested in it. You will need sqlite database editor installed on your computer.

// You can add extra conditions for each cookie you want to keep (for example, AND instr(baseDomain, 'google') == 0) .. of course you should work on a copy of cookies.sqlite in case you make a mistake.

DELETE FROM moz_cookies WHERE ( instr(host, 'KEYWORD_TO_KEEP_HERE') == 0 AND instr(baseDomain, 'KEYWORD_TO_KEEP_HERE') == 0 )

從原來的回覆中察看解決方案 👍 0

所有回覆 (3)

more options

any ideas ?

more options

The System Delete list next to the question shows that you run an older Firefox 43 version that is no longer supported with security updates. Always update Firefox and Add-ons to the latest versions to get all security fixes.

Please update to the current Firefox 44.0.2 release.

  • Help > About Firefox

Make sure that you do not run Firefox in permanent Private Browsing mode (Always use Private Browsing mode; Never Remember History).

  • Tools > Options > Privacy > Firefox will: "Use custom settings for history"
  • Deselect: [ ] "Always use Private Browsing mode"

You can "Remove Cookies" from websites that cause problems.

  • Firefox/Tools > Options > Privacy > "Use custom settings for history" > Cookies: "Show Cookies"

If clearing cookies didn't help then it is possible that the cookies.sqlite file in the profile folder that stores the cookies got corrupted.

  • Rename/remove cookies.sqlite (cookies.sqlite.old) and if present delete cookies.sqlite-shm and cookies.sqlite-wal in the Firefox profile folder in case cookies.sqlite got corrupted.

You can use this button to go to the current Firefox profile folder:

more options

選擇的解決方法

The real question is still unanswered but I have fixed my problem .. I still don't know why Firefox 43 works fine with cookies database while Firefox 44 rejects it.

I deleted all the cookies that I don't need. Fortunately the problem was triggered by one or more of the deleted cookies.

Deleting the cookies one by one is really slow and boring especially that I just needed to keep few cookies so I edited the cookies sqlite database directly.

I will leave here a simple version of the SQL command I used in case anyone was interested in it. You will need sqlite database editor installed on your computer.

// You can add extra conditions for each cookie you want to keep (for example, AND instr(baseDomain, 'google') == 0) .. of course you should work on a copy of cookies.sqlite in case you make a mistake.

DELETE FROM moz_cookies WHERE ( instr(host, 'KEYWORD_TO_KEEP_HERE') == 0 AND instr(baseDomain, 'KEYWORD_TO_KEEP_HERE') == 0 )

由 EzzTarek 於 修改