View Full Version : Access a session variable??

02-27-2003, 02: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?

Roy Sinclair
02-27-2003, 11: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.