But when I changed the code to the following, not only did I get an error message, but 'Welcome' was not displayed.
<script language="JavaScript">
var vWelcome = "Welcome "
var vWelcomeName = <%=Session("vName")
document.write(vWelcome+vWelcomeName)
</script>