I have a laptop I use in public where I access some sensible information over the browser. I already encrypted it and cookies are automatically deleten when I close the browser. The problem is, if somebody could find out the password, that person could maybe recover the cookies and access my private data. I know the RAM has nothing saved when the laptop is powered off, so it would be a good idea to save my cookies there.

Is there a way to save cookies in the RAM?

  • In Firefox, there's an option in Options/Preferences / Security to store cookies for the current session only, which means they'll be (or should be) deleted when you close the browser. Problem is, some cookies are crafted so they have a pre-determined shelf life, and are copied to disk no matter what. Disabling disk cache could help too. – Didier May 23 at 7:23
  • RAM is volatile memory, if you turn the computer off, then the data is lost. – Ramhound May 23 at 7:59
  • @Ramhound That's what I want. – Myzel394 May 23 at 8:24
  • Which browser ? – harrymc May 23 at 8:41
  • @harrymc Chromium-based if possible. I'm using Windows, so I can't use Safari. – Myzel394 May 23 at 8:47

I assume you have already set Chrome to Delete cookies after you close Chrome, which is all that can be done with standard Chrome/Chromium. You need an extension for doing more.

You may try to use the extension Cookie AutoDelete.
This extension is activated by closing the tab and it does a clean sweep of all the site data : Cookies, IndexedDB, Localstorage, etc.

A more aggressive extension is Super History & Cache Cleaner which can clear browser history, cache and cookies on a selected interval. This one might be too aggressive.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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