标签:
protected void Application_Error(object sender, EventArgs e)
{
//以此判断是否可用Session
bool HadInitSession = (sender as HttpApplication).Context.Session == null ? false : true;
//
.......
}
ASP.NET Global Application_Error事件中访问Session报错 解决
标签:
原文地址:http://www.cnblogs.com/shouwu/p/4737386.html