在HttpHandler里使用Session

1.

using System.Web.SessionState;

2.

    [WebService(Namespace = "http://tempuri.org/")]
    [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
    public class HttpHandler : IHttpHandler, IRequiresSessionState
    

 

posted @ 2018-02-13 15:14  emmaKang  阅读(199)  评论(0编辑  收藏  举报