Hi
Is it possible to set session variables (or ASP variables) with a value that is to be retrieved from a VBScript or JavaScript function? I have the following code linked to a method executed when a button is pressed on the page :
function xxxxx
.....
dim myVar
myVar = "1234"
.....
end function
When this button is pressed, I also need to set a session variable with this value. Is this possible? If it would help : the myVar value is also stored in a hidden form field on the page (which can be accessed from vbscript with document.myForm.myField.value). However, the form should not be submitted to get the value into the session variable. Any tips?
Thanks
Is it possible to set session variables (or ASP variables) with a value that is to be retrieved from a VBScript or JavaScript function? I have the following code linked to a method executed when a button is pressed on the page :
function xxxxx
.....
dim myVar
myVar = "1234"
.....
end function
When this button is pressed, I also need to set a session variable with this value. Is this possible? If it would help : the myVar value is also stored in a hidden form field on the page (which can be accessed from vbscript with document.myForm.myField.value). However, the form should not be submitted to get the value into the session variable. Any tips?
Thanks