Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Where does Opera store cookies that are destroyed or expire after the browser is restarted?

I'm looking for information on where these temporary cookies, with time expire (0), and that are deleted after a browser restart.

I tested a file "cookies4.dat" using a hex editor and it doesn't have the temporary cookies stored inside.

Does Opera create a temporary file for these cookies and delete them after restart? If that was so, where are they?

Or does it store them in RAM?

share|improve this question

Opera stores cookies in memory, and commits persistent cookies every now and then to disk. Session cookies, or cookies with "0" as expire time is not written to disk at all.

share|improve this answer
Any source for this information? I'm curious. – Gnoupi May 18 '10 at 16:04
I'm a Opera Software employee, and the answer is my understanding of the relevant documentation and source code. (disclamer; I'm not a browser developer, and the code base is large. There might be things I have overlooked) – Quai May 18 '10 at 17:20
thank you for details. Enjoy your stay on this site, there are occasionally some Opera questions which would require an "insider" answer. – Gnoupi May 25 '10 at 14:50

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.