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

搜索 | 用户支持

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

详细了解

Where are SessionCookies stored?

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

more options

Hello, I'm working on a project to extract the cookies from firefox. I can successfully extract the cookies from cookies.sqlite. Nevertheless only permanent cookies (the ones with expiry date) seem to appear there. If I do a: Select * from moz_cookies where expiry==""; nothing seems to show up.

-> If I have a look at the cookies trough firefox via Preferences -> Privacy -> "remove individual cookies" I can also see the session cookies. Therefore I want to know where these session cookies are stored in firefox (in which file) in ordert to extract them.

thx in advance


PS: I'm using firefox 23.0 UserAgent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:23.0) Gecko/20100101 Firefox/23.0

Hello, I'm working on a project to extract the cookies from firefox. I can successfully extract the cookies from cookies.sqlite. Nevertheless only permanent cookies (the ones with expiry date) seem to appear there. If I do a: Select * from moz_cookies where expiry==""; nothing seems to show up. -> If I have a look at the cookies trough firefox via Preferences -> Privacy -> "remove individual cookies" I can also see the session cookies. Therefore I want to know where these session cookies are stored in firefox (in which file) in ordert to extract them. thx in advance ---------------------------------------------- PS: I'm using firefox 23.0 UserAgent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:23.0) Gecko/20100101 Firefox/23.0

所有回复 (2)

more options

Hello funkypopcorn, try the permissions.sqlite file .

http://kb.mozillazine.org/Cookies#Where_are_cookies_stored

thank you

more options

Session cookies are kept in memory during the current session and do not need to be stored on disk in cookies.sqlite because they expire automatically. So you can't get them from places.sqlite, but only via the cookie API calls.