摘要:
WinForm客户端调用 WebService时 如何启用Session摘自: http://www.cnblogs.com/swtseaman/archive/2011/04/18/2020176.htmlWebService有两个方法:?123456789101112131415[WebMethod(EnableSession = true)]publicboolLogin(stringstrName){Session["UserName"] = strName;}[WebMethod(EnableSession = true)]publicstringGetName( 阅读全文