Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
jbverschoor
· 7y ago · 0 comments
Why are cookies even persisted on disk in the first place when such an option is enabled?
Comments
[–]
adem
7y ago
I can imagine that multiple tabs/windows don't share the same address space, so in case of opening the same website on another browser instance, saving to disk would make sure that the cookie is exposed to other running processes as well.
[–]
GordonS
7y ago
Saving to disk is probably one of the simplest ways of sharing data between processes, but it's far from the only one (e.g. named pipes)
[–]
colejohnson66
7y ago
I’m guessing here, but maybe it’s in case of a crash, it can reload them back when you reopen the browser?