日期:2014-05-19  浏览次数:20423 次

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();