避免session失效导致页面框架嵌套展示登陆界面
程序员文章站
2024-03-22 15:39:22
...
在框架主页面增加页面初始化加载js方法:
function resetwindow(){
if(top.location != self.location){
top.location.href = self.location.href;
return
}
}
function resetwindow(){
if(top.location != self.location){
top.location.href = self.location.href;
return
}
}