![Firefox logo](https://assets-prod.sumo.prod.webservices.mozgcp.net/media/uploads/products/2020-04-14-08-36-13-8dda6f.png)
Firefox is not staying logged in to saved accounts
Every time I close Firefox and open it again, no logged in accounts are saved. I need to log back in (for google account and so on ...) That happened after I cleared all the cookies from the websites. Before, everything was working fine.
Saafara biñ tànn
Details like websites remembering you (log you in automatically) are stored in a cookie. If you lose this cookie then you will have to login again.
- create a cookie allow exception with the proper protocol (https:// or http://) to make a website remember you
- use "Delete cookies and site data when Firefox is closed" to let cookies without allow exception expire when Firefox is closed
- Options/Preferences -> Privacy & Security
Cookies and Site Data: "Manage Permissions"
In case you use "Clear history when Firefox closes" or otherwise clear history.
- do not clear the Cookies
- do not clear the Site Preferences
- Options/Preferences -> Privacy & Security
Firefox will: "Use custom settings for history":
[X] "Clear history when Firefox closes" -> Settings - https://support.mozilla.org/en-US/kb/delete-browsing-search-download-history-firefox
- clearing "Site Preferences" clears exceptions for cookies, images, pop-up windows, and software installation and exceptions for passwords and other website specific data
- clearing "Cookies" will remove all selected cookies including cookies with an allow exception you may want to keep
If clearing cookies didn't help then it is possible that the cookies.sqlite file in the Firefox profile folder that stores the cookies got corrupted.
- rename/remove cookies.sqlite (cookies.sqlite.old) and when present delete cookies.sqlite-shm and cookies.sqlite-wal in the Firefox profile folder with Firefox closed in case cookies.sqlite got corrupted.
You can use the button on the "Help -> Troubleshooting Information" (about:support) page to go to the current Firefox profile folder or use the about:profiles page.
- Help -> Troubleshooting Information -> Profile Folder/Directory:
Windows: Open Folder; Linux: Open Directory; Mac: Show in Finder - https://support.mozilla.org/en-US/kb/profiles-where-firefox-stores-user-data
All Replies (2)
Saafara yiñ Tànn
Details like websites remembering you (log you in automatically) are stored in a cookie. If you lose this cookie then you will have to login again.
- create a cookie allow exception with the proper protocol (https:// or http://) to make a website remember you
- use "Delete cookies and site data when Firefox is closed" to let cookies without allow exception expire when Firefox is closed
- Options/Preferences -> Privacy & Security
Cookies and Site Data: "Manage Permissions"
In case you use "Clear history when Firefox closes" or otherwise clear history.
- do not clear the Cookies
- do not clear the Site Preferences
- Options/Preferences -> Privacy & Security
Firefox will: "Use custom settings for history":
[X] "Clear history when Firefox closes" -> Settings - https://support.mozilla.org/en-US/kb/delete-browsing-search-download-history-firefox
- clearing "Site Preferences" clears exceptions for cookies, images, pop-up windows, and software installation and exceptions for passwords and other website specific data
- clearing "Cookies" will remove all selected cookies including cookies with an allow exception you may want to keep
If clearing cookies didn't help then it is possible that the cookies.sqlite file in the Firefox profile folder that stores the cookies got corrupted.
- rename/remove cookies.sqlite (cookies.sqlite.old) and when present delete cookies.sqlite-shm and cookies.sqlite-wal in the Firefox profile folder with Firefox closed in case cookies.sqlite got corrupted.
You can use the button on the "Help -> Troubleshooting Information" (about:support) page to go to the current Firefox profile folder or use the about:profiles page.
- Help -> Troubleshooting Information -> Profile Folder/Directory:
Windows: Open Folder; Linux: Open Directory; Mac: Show in Finder - https://support.mozilla.org/en-US/kb/profiles-where-firefox-stores-user-data
My Firefox profile folder that stores the cookies was corrupted, as suggested, deleting cookies.sqlite solved the problem. Thank you!