随笔分类 - 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[&
阅读全文
浙公网安备 33010602011771号