[thelist] Include JavaScript variables into ASP script

Burhan Khalid burhankhalid at members.evolt.org
Tue Jun 4 14:47:02 CDT 2002


As Javascript is a client-side language, it cannot communicate with ASP
or
any other server-side framework, so the short answer to your question is
no, it is not possible to send Javascript variables to an ASP script.

This is very true. However, if you REALLY need to communicate between
JavaScript and ASP, you have a couple of options :

1. Cookies (which can either be set or read by both technologies)
2. Passing values to ASP. You can use javascript to send GET variables
to an ASP script, which can read them and use them.

Bottom line is, look for another solution.
Hth,
Burhan




More information about the thelist mailing list