24 Aug 2008 10:06 PM #1
how to get session value in EXTJS
I hava application in that My login page is JSP page ( struts) after login I need to show 'TreePanel' of EXTJS in that i have to use login id ...
24 Aug 2008 10:54 PM #2
you can use hidden form component
you may use hidden form component for that... but in this case you would have to submit this form component in every server call...
I would suggest... use server side session management...
you can do something like this...
session.setAttribute("loginId",loginId); // when the user first logins
session.getAttribute("loginId"); // for every other server call later...
26 Apr 2012 6:07 AM #3
"Session Is not defined " is the error i am getting