当前位置: 代码迷 >> PHP >> frame页面location解决方案
  详细解决方案

frame页面location解决方案

热度:92   发布时间:2016-04-28 21:05:16.0
frame页面location
当session失效后,使用location='跳转地址'跳转到登陆页。
<framset cols="180,*">
   <frame>左边页面</frame>
   <frame>右边页面</frame>
</freameset>
遇到问题:在session失效后,点击右边页面某个功能,结果右边页面跳转到登录页面,左边页面继续存在,如何解决?

------解决方案--------------------
top.location = '跳转地址'
------解决方案--------------------
top.location = '跳转地址' 
是版主那样写,我写错了,不好意思
  相关解决方案