1、iframe登录过期跳转
echo("<script language='javascript'>window.top.location.href='/admin/AdsLogin'</script>");
2、iframe内页跳到登录页面
window.οnlοad=function(){
if (top.location.href != location.href) {
top.location.href ="../login.html";
}
}