搜尋 Mozilla 技術支援網站

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

了解更多

It seems expired cookies are not deleting properly, Log in to another account uses old cookies.

  • 2 回覆
  • 7 有這個問題
  • 7 次檢視
  • 最近回覆由 cor-el

more options

I am working on a php app and spent hours scouring through code because when I log off the site it should set the cookies to expire an hour ago. Then when you log in it should create new cookies of course. So when I logged off one account and into another it was pulling up cookies that should have expired and changing account information for another account because of this. Tried to recreate the same problem in chrome doesn't happen only in fire fox. Any ideas?

I am working on a php app and spent hours scouring through code because when I log off the site it should set the cookies to expire an hour ago. Then when you log in it should create new cookies of course. So when I logged off one account and into another it was pulling up cookies that should have expired and changing account information for another account because of this. Tried to recreate the same problem in chrome doesn't happen only in fire fox. Any ideas?

所有回覆 (2)

more options

Many site issues can be caused by corrupt cookies or cache. In order to try to fix these problems, the first step is to clear both cookies and the cache. Note: This will temporarily log you out of all sites you're logged in to. To clear cache and cookies do the following:


  1. Go to Firefox > History > Clear recent history or (if no Firefox button is shown) go to Tools > Clear recent history.
  2. Under "Time range to clear", select "Everything".
  3. Now, click the arrow next to Details to toggle the Details list active.
  4. From the details list, check Cache and Cookies and uncheck everything else.
  5. Now click the Clear now button.

Further information can be found in the Clear your cache, history and other personal information in Firefox article.

Did this fix your problems? Please report back to us!

more options

If clearing cookies doesn't work then it is possible that the cookies.sqlite file that stores the cookies is corrupted.

Rename (or delete) cookies.sqlite (cookies.sqlite.old) and delete other present cookie files like cookies.sqlite-journal in the Firefox Profile Folder in case the file cookies.sqlite got corrupted.

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

  • Help > Troubleshooting Information > Profile Directory: Show Folder