我是新来的JavaScript世界,有一个简单的测试,读取会话获得通过JavaScript会话变量瓦尔在javascript:如何从ASP服务器脚本
我的asp文件:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<%
Session("id")=1234
Session("code")="ZZ"
%>
我的html文件:
<html>
<head></head>
<body>
<script type="text/javascript" src="asp/testSession.asp">
alert("Session ID " + Session("id"));
</script>
</body>
我在做什么错?
感谢mellamokb与胺 – user2225394 2013-04-10 18:04:50