cookie 简单用法//当前登录人的组织Id HttpCookie SingleValueCookie = new HttpCookie("DepartmentId", "值"); Response.Cookies.Add(SingleValueCookie); string departmentId = Request.Cookies["DepartmentId"].Value.ToString();