Home >Web Front-end >HTML Tutorial >解决session过期跳转到登录页并跳出iframe框架_html/css_WEB-ITnose

解决session过期跳转到登录页并跳出iframe框架_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-21 09:05:191363browse

可以用javaScript解决 
在你想控制跳转的页面,比如login.jsp中的

与之间加入以下代码: 

 

则在系统超时想在框架中打开登录页时,则login.jsp自身进行判断后跳出iframe等框架要。 
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn