Link to home
Start Free TrialLog in
Avatar of ikeyser
ikeyser

asked on

Set Session Variable

I have a form that has a button that on click makes an ajax call to a webservice that returns an entityobject.  How can i pass a value from the returned object to a session variable?  I am using jquery.ajax().
Avatar of leakim971
leakim971
Flag of Guadeloupe image

>How can i pass a value from the returned object to a session variable?

A new ajax call ? Or if possible, set it in the web service
Avatar of ikeyser
ikeyser

ASKER

Can you provide an example?
Avatar of ikeyser

ASKER

Thank you for the link but it doesn't provide an example of how I can pass data I get back from the ajax call.
You will have to make a second AJAX call to a server-side page to set the session variable.
Avatar of ikeyser

ASKER

Example please
ASKER CERTIFIED SOLUTION
Avatar of leakim971
leakim971
Flag of Guadeloupe image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks for the points!