Pesquisar no site de suporte

Evite golpes de suporte. Nunca pedimos que você ligue ou envie uma mensagem de texto para um número de telefone, ou compartilhe informações pessoais. Denuncie atividades suspeitas usando a opção “Denunciar abuso”.

Saiba mais

Esta discussão foi arquivada. Faça uma nova pergunta se precisa de ajuda.

Firefox unable to get session cookies

  • 2 respostas
  • 1 tem este problema
  • 30 visualizações
  • Última resposta de 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

Todas as respostas (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!