frame页面location
程序员文章站
2022-05-01 18:45:06
...
当session失效后,使用location='跳转地址'跳转到登陆页。
左边页面
右边页面
遇到问题:在session失效后,点击右边页面某个功能,结果右边页面跳转到登录页面,左边页面继续存在,如何解决?
左边页面
右边页面
遇到问题:在session失效后,点击右边页面某个功能,结果右边页面跳转到登录页面,左边页面继续存在,如何解决?
回复讨论(解决方案)
用window.location.href="跳转地址跳转到登陆页"
用window.location.href="跳转地址跳转到登陆页"
location.href和location没区别。
用window.location.href="跳转地址跳转到登陆页"
location.href和location没区别。
用window.location.top="跳转地址跳转到登陆页"
top.location = '跳转地址'
top.location = '跳转地址'
是版主那样写,我写错了,不好意思
上一篇: PHP 怎么判断图片是否为鱼眼图片
下一篇: .NET中异常处理的最佳实践(译)