ASP.ENT – HttpContext.Current.Session & Page Session

HttpContext.Current.Session["ID"] == null

 

public partial class _Default : System.Web.UI.Page

{

protected void Page_Load(object sender, EventArgs e)

{

Session["Name"] = "John";

}

}

posted @ 2009-03-28 14:37  许晓光  阅读(559)  评论(0编辑  收藏  举报