...

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.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum