protected void Page_Load(object sender, EventArgs e)
    {
        if (Session["CustomerName"] == null)  //用户未登录
        {
            Response.Redirect("~/Login.aspx");
        }
        name     = Session["CustomerName"].ToString();
        host     = Request.Form["host"];
        username = Request.Form["username"];
        password = Request.Form["password"];
        url      = Request.Form["url"];
        ecsService.UpdateEcs(username, password, host, url, name);

        Response.Write("ok");
    }