如下可以取到Session,相同的方式可以取到request等信息 HttpContext.Current.Session 转载于:https://www.cnblogs.com/zhurongbo/p/10397656.html