how to change value of session variable in javascript?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Shaikh Rais
    New Member
    • Aug 2010
    • 6

    how to change value of session variable in javascript?

    i want to change my asp.net session variable value in my javascript,I try
    Session("variab lename")=4;
    i found error object Not Found
  • Dormilich
    Recognized Expert Expert
    • Aug 2008
    • 8694

    #2
    JavaScript is a client side language, while sessions are server side. thus you need to change the session value by your server-side language (asp). however, you may use an AJAX call, to do so.

    Comment

    • Shaikh Rais
      New Member
      • Aug 2010
      • 6

      #3
      send me code dear

      Comment

      • Dormilich
        Recognized Expert Expert
        • Aug 2008
        • 8694

        #4
        no.

        we are all volunteers, so we do not provide code. however, should you have problems with your code, we are happy in assisting you to solve those problems if you show us a little effort.

        see also the Posting Guidelines

        MODERATOR

        Comment

        Working...