Web API 中不能使用 Session 对象,HttpContext.Current.Session 为 null,根本没有使用的机会。
不过 Application 可用。
相关阅读
创建于2005年 渝ICP备05010272号-1
电邮:cftea@126.com