日期:2014-05-18  浏览次数:20459 次

iframe跳转页问题
我的框架用iframe搭的,当用户登录的时候自动转向这个iframe框架,当会话过期了之后,这个iframe自动跳转到登录页面,这个怎么实现啊,如果我用response.redirect()只会一块iframe转向登录页面,而不是整个iframe即整个页面跳转到登录页面,请帮帮忙

------解决方案--------------------
用Js实现
Response.Write("<script>parent.location.href='要跳的URL'</script>");
Response.End();
------解决方案--------------------
探讨
用Js实现
Response.Write(" <script>parent.location.href='要跳的URL' </script>");
Response.End();