需要添加引用:using System.Web.SessionState;
继承 IRequiresSessionState
public class FinancialGet : IHttpHandler ,IRequiresSessionState{}
不然 session 读取不到。