1.在應用程序中獲取session,System.Web.HttpContext.Current.Session;session
2.命名空間以下:IRequiresSessionStateui
調用方法io
public class ProjectInfo : IHttpHandler,System.Web.SessionState.IRequiresSessionState{class
}命名空間