[WebMethod(EnableSession=true)] 一定要标注EnableSession=true
public string GetID()
{
return Session.SessionID;
}
转载于:https://www.cnblogs.com/suneryong/archive/2008/03/26/1122578.html
转载于:https://www.cnblogs.com/suneryong/archive/2008/03/26/1122578.html