On May 11, 11:06 am, Daz <cutenfu...@gmail.comwrote:
On May 10, 11:15 pm, Divya Khullar <khullar.di...@gmail.comwrote:
Is
there a way of updating session variable in JS.
What do you mean by "session variables"? Are you referring to the
cookies on the client-side, or the session on the server-side?
Remember that javascript executes after the server side code is
complete, so it cannot set a session variable without making another
connection.
You may want to investigate using AJAX to make a connection to a
server side resource and have it update your session variable.