|
-
Dec 15th, 2000, 12:39 AM
#1
Thread Starter
Addicted Member
How can I use Session Variables in Client script
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>
-
Dec 15th, 2000, 09:54 AM
#2
Frenzied Member
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.
oOOo--oOOo
__ /\/\onte96
oOOo--oOOo
Senior Programmer/Analyst
MCP
[email protected]
[email protected]
Your results may vary.. some restrictions may apply.. pricing and participation may vary.. not available in all states.. professional driver closed course..quantities limited..
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|