quote:Originally posted by rguidry
I started over using a blank page and with everyone's advice I got it to work using the following code:
var SesType = '<%=Session("PALType")%>';
That code snippet didn't work for me using ASP.NET v1.1, however, the following did work.
clientSideVar = '<%= (string)Session["my_key_name"] %>';
Using the parenthesis on the Session object rather than square brackets caused a compile error saying that I was treating a property "Session" as a method...