Zoeken in Support

Vermijd ondersteuningsscams. We zullen u nooit vragen een telefoonnummer te bellen, er een sms naar te sturen of persoonlijke gegevens te delen. Meld verdachte activiteit met de optie ‘Misbruik melden’.

Meer info

Deze conversatie is gearchiveerd. Stel een nieuwe vraag als u hulp nodig hebt.

Firefox unable to get session cookies

  • 2 antwoorden
  • 1 heeft dit probleem
  • 30 weergaven
  • Laatste antwoord van 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

Alle antwoorden (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!