当session会话超时,页面请求被重新定位到了登陆界面。但登录界面在iframe中的解决方案:在登录页面中加入下面的js代码:

<script type="text/javascript">
  var initScript = setInterval(function(){
  if(window.top != null && window.top.document.URL!=document.URL){
    clearInterval(initScript);
    window.top.location.href = document.URL(登录页面);
  }
});
</script>

相关文章:

  • 2022-02-12
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-06-20
  • 2022-12-23
  • 2022-01-25
  • 2022-12-23
  • 2022-12-23
  • 2021-12-24
  • 2022-12-23
相关资源
相似解决方案