解决调用context.Session["NAME"]时总出现Object reference not set to an instance of an object.异常的方法

if (context.Session != null)
{
}

posted @ 2014-09-30 10:27  emmaKang  阅读(290)  评论(0编辑  收藏  举报