Hi , I have a page that I want to assign a session variable that I created from the previous page to a variable called strAgency. I use the following code :
<SCRIPT LANGUAGE="JAVASCRIPT">
var strAgency = <%=Session("Agency"
%>;
alert ("agency = " + strAgency);
</SCRIPT>
But for some reason, the strAgency changed to 19 ( i have no idea where is the value coming from.) I use the response.write to check the value in session("agency"
and it shows the correct value (023) .
<%
'Response.Write "Agency : " & session("agency"
%>
Can someone tell me why????? Thanks.
<SCRIPT LANGUAGE="JAVASCRIPT">
var strAgency = <%=Session("Agency"
alert ("agency = " + strAgency);
</SCRIPT>
But for some reason, the strAgency changed to 19 ( i have no idea where is the value coming from.) I use the response.write to check the value in session("agency"
<%
'Response.Write "Agency : " & session("agency"
%>
Can someone tell me why????? Thanks.