首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > asp.net >

iframe有关问题

2011-12-19 
iframe问题,在线等我在页面a的iframe里弄了一个登陆的界面,当系统登陆成功,返回页面a,我用server.transfer

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

热点排行