Click to See Complete Forum and Search --> : Setting Session Variables with JavaScript
Pselus
03-14-2003, 11:15 AM
I am finishing up a project and just need to set some session variables to connect the two parts. I need to call the javascript function from the OnClick event of a form submit button.
Thanks,
James Wright
AdamBrill
03-14-2003, 11:21 AM
Originally posted by Pselus
I am finishing up a project and just need to set some session variables to connect the two parts. I need to call the javascript function from the OnClick event of a form submit button. What do you mean by session variables?? If you mean between pages, the only way to pass variables between pages is through the query string...
Pselus
03-14-2003, 03:33 PM
I mean the Session contents. In vb for asp it's session.contents("VariableName").
I don't know that it's even possible in JavaScript. I can't use the query string because there are several pages in between the two that I need to 'connect', basically I need the values from the first page to display in a later page.
I may be able to do it through cookies if you can help with that.
Thanks,
James