解决调用context.Session["NAME"]时总出现Object reference not set to an instance of an object.异常的方法时间:2024-06-02 17:35:38if (context.Session != null) { }