1. #1
    Ext User nileshpatil's Avatar
    Join Date
    Apr 2008
    Location
    Mumbai, India
    Posts
    31
    Vote Rating
    0
    nileshpatil is on a distinguished road

      0  

    Question how to get session value in EXTJS

    how to get session value in EXTJS


    how to take value from session in Javascript...???

    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 ...
    so i think i have to put login id in session and after that retrieve that value in javascript page .. this is right ????

    if right please any one tell me how take value from session in javascript????
    Nilesh Patil
    Project Associate
    www.mkcl.org

  2. #2
    Ext User ritesh.kapse's Avatar
    Join Date
    May 2008
    Location
    Pune, India
    Posts
    120
    Vote Rating
    0
    ritesh.kapse is on a distinguished road

      0  

    Default you can use hidden form component

    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...

    Code:
    session.setAttribute("loginId",loginId); // when the user first logins
    and then...


    Code:
    session.getAttribute("loginId"); // for every other server call later...

  3. #3
    Sencha User
    Join Date
    Mar 2012
    Location
    India
    Posts
    45
    Vote Rating
    0
    prakash.fs is on a distinguished road

      0  

    Default


    "Session Is not defined " is the error i am getting

Thread Participants: 2

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..."