Delphi调用C# Webservice,有关Session问题
在Delphi,是否有类似的CookieContainer???
--webservice[WebMethod(Description = "Hello Demo", EnableSession = true)] public string HelloWorld() { if (System.Web.HttpContext.Current.Session.Count == 0) { return "Hello,World"; } else { return "Hello World, " + System.Web.HttpContext.Current.Session["UserName"].ToString(); } }--客户端 winformsingleWebservice = new WindowsFormsApplication1.localhost.MyService(); cookieContainer = new CookieContainer(); singleWebservice.CookieContainer = cookieContainer;