News for hackers. Stuff that matters.
Re:Race conditions on the web by throwawayReply on Wednesday July 13, 2016 @03:57AM (#12084599)
SessionStorage has all of those properties:

https://developer.mozilla.org/en/docs/Web/API/Window/session...

localStorage is often used for it's persistance across closing/reopening the browser, but for times when you don't want storage to bleed across tabs or closing the browser then session storage is much better, and unlike a cookie doesn't automatically get attached to request so there aren't XSRF worries.

(You still need to be careful of XSS of course.)

There are no comments on this comment yet.