当前位置: 代码迷 >> ASP.NET >> iframe有关问题
  详细解决方案

iframe有关问题

热度:1534   发布时间:2013-02-26 00:00:00.0
iframe问题,在线等
我在页面a的iframe里弄了一个登陆的界面,当系统登陆成功,返回页面a,我用server.transfer( " ");结果变成页面a嵌套自iframe里面了,怎么办?我本意是想登陆验证成功以后把session里改成登陆的用户的信息,然后再返回页面a的。大家教教我,谢谢。

------解决方案--------------------------------------------------------
Response.Write( " <script> top.window.location.href= "a " </script> ");
------解决方案--------------------------------------------------------
Response.Write( " <script> window.parent.location.href= "a.aspx " </script> ");Response.End();
  相关解决方案