System.Web.HttpContext.Current.Session["CUserID"] = UserID;
System.Web.HttpCookie cookie = new HttpCookie("ASP.NET_SessionId");
cookie.Value = System.Web.HttpContext.Current.Session.SessionID;
cookie.Domain="****.com";
System.Web.HttpContext.Current.Response.Cookies.Add(cookie);
为什么该代码实现不了.
谁能帮我解决改问题