Re:Web Storage: the lesser evil for session tokens
by slykat on Tuesday May 31, 2016 @10:59PM
(#11811817)
The distinction you are making doesn't exist. localStorage and cookies both persist after the browser is closed so if you want that use case you won't get it from either.
[ Parent
| on HN ]
Re:Web Storage: the lesser evil for session tokens
by yxlx on Wednesday June 01, 2016 @12:54PM
(#11816004)
Maybe they were thinking of the options most browsers have to clear selected private data on exit. In that case, though, it's still possible to clear both localStorage and cookies I am sure. Maybe parent commenter currently has the options set so that cookies are cleared but localStorage is not and that's why they thought that this is the way it always is.