(1)
Response.Redirect("Login.aspx");
(2)
Response.Write("<script>location.href='Login.aspx'</script>");
偶然发现(2)在你按浏览器的后退之后也不回后退,仍停留在当前的页面,而(1)会返回前一页面。
转载于:https://www.cnblogs.com/xt-huyang/archive/2008/02/29/1086461.html
转载于:https://www.cnblogs.com/xt-huyang/archive/2008/02/29/1086461.html