在[Ajax.AjaxMethod()]下的方法不能使用Session 请修改上述声明为[Ajax.AjaxMethod(Ajax.HttpSessionStateRequirement.ReadWrite)]即可使用Session。