public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
Ajax.Utility.RegisterTypeForAjax(typeof(_Default));
} [Ajax.AjaxMethod]
public string GetSession()
{
string sesn= Session["CheckCodes"].ToString();
return sesn;
}
}为什么Session不能得到值了
Session中已赋值但得不到
{
protected void Page_Load(object sender, EventArgs e)
{
Ajax.Utility.RegisterTypeForAjax(typeof(_Default));
} [Ajax.AjaxMethod]
public string GetSession()
{
string sesn= Session["CheckCodes"].ToString();
return sesn;
}
}为什么Session不能得到值了
Session中已赋值但得不到
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货