Funkcionalnosć tutoho sydła so přez wothladowanske dźěła wobmjezuje, kotrež maja waše dožiwjenje polěpšić. Jeli nastawk waš problem njerozrisuje a chceće prašenje stajić, wobroćće so na naše zhromodźenstwo pomocy, kotrež na to čaka, wam na @FirefoxSupport na Twitter a /r/firefox na Reddit pomhać.

Pomoc přepytać

Hladajće so wobšudstwa pomocy. Njenamołwimy was ženje, telefonowe čisło zawołać, SMS pósłać abo wosobinske informacije přeradźić. Prošu zdźělće podhladnu aktiwitu z pomocu nastajenja „Znjewužiwanje zdźělić“.

Dalše informacije

Firefox unable to get session cookies

  • 2 wotmołwje
  • 1 ma tutón problem
  • 30 napohladow
  • Poslednja wotmołwa wot alonkle

more options

I'm writing a program that use firefox's cookies in order to send requests to websites.

Right now, I'm trying to get firefox's cookies. I was able to get most of the cookies from cookies.sqlite file, but session cookies do not appear there. The internet says that while Firefox is running, session cookies are stored on sessionstore.js file. For some reason this file won't update at all. seems like Firefox ignoring sessionstore.js file

I'll really appreciate any answer

I'm writing a program that use firefox's cookies in order to send requests to websites. Right now, I'm trying to get firefox's cookies. I was able to get most of the cookies from cookies.sqlite file, but session cookies do not appear there. The internet says that while Firefox is running, session cookies are stored on sessionstore.js file. For some reason this file won't update at all. seems like Firefox ignoring sessionstore.js file I'll really appreciate any answer

Wšě wotmołwy (2)

more options

Hi, I believe you answered you own question.

While it is running. As it is actively being written to access is denied. Only when Firefox is shutdown can you access this.

more options

Pkshadow said

Hi, I believe you answered you own question. While it is running. As it is actively being written to access is denied. Only when Firefox is shutdown can you access this.

Thank you very much for you're replay! Unfortunately I still could not solve my problem.

I tried closing Firefox, then check the sessionstore.js file, and It still won't update. I also made sure Firefox not running in the background.

But I did noticed that when I close Firefox, a new file called sessionstore.jsonlz4 was created, and when I open FIrefox, the file deleted. The internet says sessionstore.jsonlz4 is the compression of sessionstore.js, and It does change every time I close Firefox.

My questions now are there is no way for me to get the session cookies while FIrefox is running? Am I right about sessionstore.jsonlz4? and how do I decompress sessionstrore.jsonlz4 (prefer using python)?

Thank you!