1、如果在同一主域名下,localstorage能访问吗?

    测试: 在www\index.php 中写入 localstorage

             在www\wex5fortp\ui 目录下能否读到??

    结论:可以得到

2、在同一域名下的iframe,也可以得到

 

结论:localstorage的数据,在同一pc中,只要主域名相同,都可以得到

相关文章:

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