This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

ค้นหาฝ่ายสนับสนุน

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.

เรียนรู้เพิ่มเติม

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.