node
node copied to clipboard
Node throwing js error when cookies are disabled
Node seems to be throwing bunch of javascript error when user disables their cookies. Somehow the history/lib/DOMStateStorage.js is interfering with our site when it throws JS errors.
Are we able to put this block of code in the try/catch?
var json = window.sessionStorage.getItem(createKey(key));
Thanks, Vince
This is almost certainly not an issue with Node. This question would be better suited for Stack Overflow.
You're probably confusing something. Node.js does not deal with cookies. Browsers and things like Express do.