View Full Version : Access a session variable??
gorilla1
02-27-2003, 01:55 PM
I have set a session variable in my asp code. I have some javascript code that runs on the server ('runat server' is specified). I want to access the session variable from within the javascript code. How do I do this?
G
Roy Sinclair
02-27-2003, 10:21 PM
Have you tried doing it like you would in VBScript? ie. ( Session("name")).
Note the uppercase "S" in Session, remember jscript is case sensitive.
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.