window.sessionStorage throws an exception when cookies are disabled in some browsers