ERROR处理

来源:互联网 发布:tumblr mac客户端下载 编辑:程序博客网 时间:2024/04/28 21:01

protected void Application_Error(Object sender, EventArgs e)
  {
   //Session["CurrentError"] = "Global: " + Server.GetLastError().Message;
   //Server.Transfer("ErrorPage.aspx",true);


  }

  <authentication mode="Forms">
         <forms name="401kApp" loginUrl="/login.aspx">
         </forms>
    </authentication>

原创粉丝点击