memory – How to save browser cookies in ram?


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?