asp.net前台获取Session和创建保存Session

 $(document).ready(function () {
             var Loginsession = '<%=((Smt.Message.LoginUser)Session["LogUserInfo"]).pSkinPath%>';
             '<% =(Session["MySession"]=20) %>';
             var mysession = '<%=(Session["MySession"])%>';
         })
得意

你可能感兴趣的:(asp.net)