xxx.asp:
<%
application.lock
if request("id")=1 then
application("button1")=application("button1")+1
end if
if request("id")=2 then
application("button2")=application("button1")+1
end if
application.unlocak
responae.Write Request.ServerVariables("HTTP_REFERER")
%>
谢谢两位,请看一下我的程序错在哪:
<script language="vbscript" runat="server">
<!--
sub button_onclick()
application("number")=application("number")+1
end sub
-->
</script>