Hi there, I am still learning ASP. Can anyone tell me how to use Session Variables that I create in a ASP page, in client-side scripting? For example:
<SCRIPT language=vbs>
If Session("Checked") = "1" then.......
.....
.........
</Script>
Printable View
Hi there, I am still learning ASP. Can anyone tell me how to use Session Variables that I create in a ASP page, in client-side scripting? For example:
<SCRIPT language=vbs>
If Session("Checked") = "1" then.......
.....
.........
</Script>
You can't use session variables in client side scripting. Only server side. Although you can response.write the value from a session variable into client side script but only when it is being generated on the server side and before it is sent to the browser.