Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

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

  • 2 replies
  • 7 have this problem
  • 7 views
  • Last reply by 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?

All Replies (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