Sunday, May 12, 2024
 Popular · Latest · Hot · Upcoming
47
rated 0 times [  53] [ 6]  / answers: 1 / hits: 24682  / 11 Years ago, tue, april 9, 2013, 12:00:00

I want to set session variable using javascript/jquery in my apsx page.
Afterwards,I want to use that session variable in other page using jquery.
Can anyone help me for this?



Thanks,

Priya


More From » jquery

 Answers
16

You have two cases here ,



1) If you want to set the value of Session in client side on the page load it self you can use the hidden field to pass on the client side .



2) If you want to set the value on the client side without going to back to post back , you can opt for the AJAX method


[#79019] Monday, April 8, 2013, 11 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
kristopher

Total Points: 58
Total Questions: 103
Total Answers: 102

Location: Netherlands
Member since Thu, Jul 1, 2021
3 Years ago
;