1.
using System.Web.SessionState;
2.
???[WebService(Namespace = "http://tempuri.org/")] ???[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)] ???public class HttpHandler : IHttpHandler, IRequiresSessionState ???
在HttpHandler里使用Session
原文地址:https://www.cnblogs.com/kangjing/p/8446709.html