I did this:
in global.asa:
<SCRIPT LANGUAGE=VBScript RUNAT=Server>
Sub Application_OnStart()
Application("counter"
=0
End sub
Sub Session_OnStart()
iCount = Application("Counter"
iCount = iCount+1
Application("Counter"
=iCount
Session("Counter"
=iCount
end sub
</SCRIPT>
and in a file called Example.asp, it looks like:
<% Option Explicit %>
<html>
<head>
<title>
</title>
</head>
<body>
<h1>Welcome</h1>
You are visitor <%=Session("counter"
%><br>
out of <%=Application("counter"
%>
</body>
</html>
but when the page is pulled up through PWS, the places where the numbers should be are blank, there is no error being generated. It seems like the application/session variables aren't being filled.
What is out of whack here? How much water would there be in the ocean if it weren't for sponges?
in global.asa:
<SCRIPT LANGUAGE=VBScript RUNAT=Server>
Sub Application_OnStart()
Application("counter"

End sub
Sub Session_OnStart()
iCount = Application("Counter"

iCount = iCount+1
Application("Counter"

Session("Counter"

end sub
</SCRIPT>
and in a file called Example.asp, it looks like:
<% Option Explicit %>
<html>
<head>
<title>
</title>
</head>
<body>
<h1>Welcome</h1>
You are visitor <%=Session("counter"

out of <%=Application("counter"

</body>
</html>
but when the page is pulled up through PWS, the places where the numbers should be are blank, there is no error being generated. It seems like the application/session variables aren't being filled.
What is out of whack here? How much water would there be in the ocean if it weren't for sponges?