accessing variables declared outside the asp code

Posted by sushant on Stack Overflow See other posts from Stack Overflow or by sushant
Published on 2010-06-14T09:10:00Z Indexed on 2010/06/14 9:12 UTC
Read the original article Hit count: 134

Filed under:
<script ID="clientEventHandlersVBS" LANGUAGE="vbscript">

s=pass()
y=s

</script>
<%
session("password")=y
Response.write(session("password"))
Response.write(y)
%>

i have this code. but nothing is getting stored inside the session variable neither anything is getting printed. cant i access the variables declared outside the asp code or is their any syntax mistake. any help is really appreciated

© Stack Overflow or respective owner

Related posts about asp-classic