随笔分类 -  javascript

摘要:使用prototype中的ajax,无法得到Session值前台:new Ajax.Request( url, { method : "get", parameters : p, onComplete : finish } );后台:System.Web.HttpContext.Current.Session["aaa"]抛出异常,Current中的Session属性为null无法得到Session的值。使用ASPX调用就可以顺利得到Session值。最后在后台使用:System.Web.HttpContext.Current.Application[& 阅读全文
posted @ 2008-09-09 17:13 slimpotato 阅读(498) 评论(0) 推荐(0)