Microsoft Edge: local/session storage are not working in a new tab

前端 未结 2 854
忘掉有多难
忘掉有多难 2021-02-12 09:47

I\'m working on a Web Application hosted in Azure. I\'ve tried it on MS Edge (build 20.10525.0.0) and got the following problem.

I have a link with target _blank to ope

2条回答
  •  甜味超标
    2021-02-12 10:17

    I had the same problem with localStorage across multiple tabs - it would only work intermittently, or not at all. My solution was to switch to window.indexedDB (see docs on MDN) which works fine in IE10, IE11 and MS Edge (tested on Edge v20.10240).

提交回复
热议问题