现在的位置: 首页 > 综合 > 正文

ERROR处理

2013年07月29日 ⁄ 综合 ⁄ 共 290字 ⁄ 字号 评论关闭

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>

抱歉!评论已关闭.