为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

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

详细了解

content-prefs.sqlite and my site login cookies are being ignored after closing FF for several minutes. Why is that?

  • 2 个回答
  • 2 人有此问题
  • 4 次查看
  • 最后回复者为 cor-el

more options

So, I opened up FF this morning only to find that I needed to log into Tumblr and reselect the download location for a blog I've visited countless times and had actually saved from the night before. I opened up the content-prefs.sqlite file using a 3rd party app and all of the sites I've saved images from were still present, but appeared to not be used in the slightest. In fact, all of my frequent sites required me to relog in and my Cookie manager plugin was missing all cookies but the ones generated from that session.

I tried copying the content-prefs.sqlite file and replacing it after FF replaced the deleted one, but it didn't fix it. I suspect all my cookies are still intact, but I would like to know a way to repair it. I follow several dozen artists on Tumblr and other art sites and save their stuff to folders that do not always have the same name as their site's handle.

Is there a way to force FF to use that complete file and the old cookies? Or will I need to unlink then resync my profile to fix it? Is content-prefs.sqlite even saved via sync?

So, I opened up FF this morning only to find that I needed to log into Tumblr and reselect the download location for a blog I've visited countless times and had actually saved from the night before. I opened up the content-prefs.sqlite file using a 3rd party app and all of the sites I've saved images from were still present, but appeared to not be used in the slightest. In fact, all of my frequent sites required me to relog in and my Cookie manager plugin was missing all cookies but the ones generated from that session. I tried copying the content-prefs.sqlite file and replacing it after FF replaced the deleted one, but it didn't fix it. I suspect all my cookies are still intact, but I would like to know a way to repair it. I follow several dozen artists on Tumblr and other art sites and save their stuff to folders that do not always have the same name as their site's handle. Is there a way to force FF to use that complete file and the old cookies? Or will I need to unlink then resync my profile to fix it? Is content-prefs.sqlite even saved via sync?

所有回复 (2)

more options

Cookies are stored in cookies.sqlite, in case you are looking for a different file to restore.

But my question is still what triggered this problem. Have you shut down and restarted Windows since it began? Sometimes after system updates (and for some users after resuming from sleep or hibernation), Firefox may have odd problems access its data files.

Ospreyhawk said

Is content-prefs.sqlite even saved via sync?

That, I have no idea.

more options

A detail like a website remembering you (log you in automatically) is stored in a cookie. If you clear such a cookie then the website forgets about you and you need to login again.

You can use these steps to make a website recognize and remember you:

  • you can create an "Allow" exception to keep specific cookies, especially in case of secure websites and when cookies expire when Firefox is closed.
  • Options/Preferences -> Privacy & Security -> Cached Web Content: "Clear Now": Exceptions

Let the cookies expire when Firefox is closed to make them session cookies instead of using "Clear history when Firefox closes" to clear the cookies.

  • Options/Preferences -> Privacy & Security -> "Use custom settings for history" -> Cookies: Keep until: "I close Firefox"

You can create an "Allow" exception to keep specific cookies.

  • clearing "Site Preferences" clears exceptions for cookies, images, pop-up windows, and software installation and exception for password and other website specific data
  • clearing "Cookies" will remove all selected cookies including cookies with an "Allow" exception you may want to keep