錯誤現象:Response.Redirect(Server.MapPath("BackIndex.aspx"));
打斷點測試執行了這一句,Server.MapPath("BackIndex.aspx")路徑也沒問題,網上有說webconfig配置了登錄驗證,改了<authentication mode="None">后,仍然不跳轉頁面,抓狂!!!
解決方法:去掉Server.MapPath,直接使用Response.Redirect("BackIndex.aspx");能跳轉。。。
原理:正迷茫中。。。
