You will need to put them in a form (possibly as INPUT TYPE=hidden) and the form action is an ASP page that reads the form values and assigns them to the session vars.
You see ASP runs on the server, JavaScript runs on the client. Once the page is on the client the only way to run server side scripts (like ASP) is to call another web page.
Hope this helps, Einstein47 (Love is like PI - natural, irrational, endless, and very important.)
JSP is like ASP - they are SERVER SIDE SCRIPTING LANGUAGES. So once the page is running in the browser (ie JavaScript is handling things), JSP is no longer present in the page. You will need to send the variables' values to a second page that will use them to set the JSP variables.
There is no other way. Please listen to xutopia, he didn't get on the top of the "This Forum's Top Experts" list by accident. Einstein47 (Love is like PI - natural, irrational, endless, and very important.)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.