Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
会话没有获得新值
对象引用未设置为对象的实例
Session一片空白。
Session
利用:
[WebMethod(EnableSession = true)]
您需要在您的网络方法上启用会话:
[WebMethod(EnableSession=true)] public bool SearchCOurses(int level, string keywords) { ... }