C# 在类中使用session

System.Web.HttpContext.Current.Session["nowtime"].ToString();

原文地址:https://www.cnblogs.com/cwyblog/p/2841909.html