Fungovanie tejto stránky je z dôvodu údržby dočasne obmedzené. Ak článok nevyrieši váš problém a chcete položiť otázku, napíšte našej komunite podpory na Twitter @FirefoxSupport alebo Reddit /r/firefox.

Vyhľadajte odpoveď

Vyhnite sa podvodom s podporou. Nikdy vás nebudeme žiadať, aby ste zavolali alebo poslali SMS na telefónne číslo alebo zdieľali osobné informácie. Nahláste prosím podozrivú aktivitu použitím voľby “Nahlásiť zneužitie”.

Ďalšie informácie

Firefox unable to get session cookies

  • 2 odpovede
  • 1 má tento problém
  • 30 zobrazení
  • Posledná odpoveď od 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

Všetky odpovede (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!