Biegral 2018/11/2 2:55:38 1080
原文连接
在webService里面Session默认是不可用的,必须得开启Session才能使用,如
[WebMethod(EnableSession = true)] public string Login(string name) { Context.Session["name"] = name; return name; }