Response.Redirect 无法跳转页面

错误现象:Response.Redirect(Server.MapPath("BackIndex.aspx"));

打断点测试执行了这一句,Server.MapPath("BackIndex.aspx")路径也没问题,网上有说webconfig配置了登录验证,改了<authentication mode="None">后,仍然不跳转页面,抓狂!!!

解决方法:去掉Server.MapPath,直接使用Response.Redirect("BackIndex.aspx");能跳转。。。

原理:正迷茫中。。。

原文地址:https://www.cnblogs.com/zhyue93/p/Redirect.html