前提, 同域名,同http或https

可以使用cookie存储,并用js设置定时检查。

可以使用html5的storage,与事件。

localstorage与sessionstorage本地存储对象。

在ie11以及其他现代浏览器上均支持。

介绍说sessionstorage不支持事件响应。还没有试。

以前看介绍说portal类web应用,多个网页,可以实时响应服务器消息(现在可以应用websocket),以及在页面、页面内组件之间同步。

 

相关文章:

  • 2021-12-28
  • 2022-12-23
  • 2021-08-11
  • 2021-07-10
  • 2022-12-23
  • 2021-05-21
  • 2021-05-19
  • 2022-12-23
猜你喜欢
  • 2022-01-03
  • 2021-11-04
  • 2022-12-23
  • 2022-12-23
  • 2021-09-01
  • 2021-06-12
相关资源
相似解决方案