//写入cookie登录记录作为其它系统使用
public void writeCookie(string user, string password, string Ulevel, string Utype)
{
//deleteCookie();//增记录时删除以前的用户记录
HttpContext.Current.Response.Cookies["UserName"].Value = user;
HttpContext.Current.Response.Cookies["Userpass"].Value = password;
//HttpContext.Current.Response.Cookies["Ulevel"].Value=Ulevel;//暂时不用
//HttpContext.Current.Response.Cookies["Utype"].Value=Utype;
HttpContext.Current.Response.Cookies["UserName"].Domain = ".zgbfw.com";
HttpContext.Current.Response.Cookies["Userpass"].Domain = ".zgbfw.com";
HttpContext.Current.Response.Cookies["UserName"].Domain = "js.zgbfw.com";
HttpContext.Current.Response.Cookies["Userpass"].Domain =