how to maintain the session through javascript

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • anjaligoel
    New Member
    • Apr 2008
    • 1

    how to maintain the session through javascript

    Good morning for everyone

    please anyone tell me tht how can i maintain the session through javascript
    i found that we can use cookies in javascript but can we maintain session in it.

    currently i am working in the .net and in .net i know how to maintain the session but i have to maintain that session through javascript so please help me


    thanks in advance
  • balame2004
    New Member
    • Mar 2008
    • 142

    #2
    Hi Anjali,

    You can not maintain session through clinetside code. You have to maintain it through code behind files.

    Regards,
    Balaji u

    Comment

    • dip_developer
      Recognized Expert Contributor
      • Aug 2006
      • 648

      #3
      Originally posted by anjaligoel
      Good morning for everyone

      please anyone tell me tht how can i maintain the session through javascript
      i found that we can use cookies in javascript but can we maintain session in it.

      currently i am working in the .net and in .net i know how to maintain the session but i have to maintain that session through javascript so please help me


      thanks in advance
      why do u need to maintain a session through javascript?? javascript has no access over server side Session variables.....i f you store your session data in a control of your page[like TeaxtBox/Label] then u can access the value through javascript..... ....

      Comment

      Working...