I am a Solivagant
Lofter    Posts     新文章     文章管理     新日记     日记管理

[jQuery] 使用 jquery 获取 session 中的变量

var mycode="<%=session.getAttribute("code")%>";

说明:session中设置过setAttribute("code",sessionVar);

但是获取的好像只能是字符串.

posted @ 2018-06-08 10:35  宛如ZZ  阅读(1741)  评论(0编辑  收藏  举报