当无法使用Response.Redirect来进行重定向时的解决方案
摘要:
同事维护一个旧系统,需要重定向,但不成功,我发现是在重定向之前使用了Response.Flush方法导致Response.Redirect失效。之后还是同事自己找到的方法:用javascript来跳转页面:window.location.href。用Response.write输出即可。 阅读全文
posted @ 2009-08-24 11:20 Rusteel 阅读(670) 评论(0) 推荐(0) 编辑