Forum Moderators: open
<%
dim numvisits
response.cookies("NumVisits").Expires=date+365
numvisits=request.cookies("NumVisits")
if numvisits="" then
response.cookies("NumVisits")=1
response.write("Welcome! This is the first time you are visiting this Web page.")
else
response.cookies("NumVisits")=numvisits+1
response.write("You have visited this ")
response.write("Web page " & numvisits)
if numvisits=1 then
response.write " time before!"
else
response.write " times before!"
end if
end if
%>
<html>
<body>
This is a welcome cookie that keeps track of how many times you have visited the page!
<%
response.write("<a href=index.asp>Home</a>")%>
</body>
</html>
It is primitive by most standards, I know :) but I am learning..so please go easy on me!
So my problem is that when I get upload it to the server, (which supports asp) and try to view it it tells me that the server no longer supports the "set" and "let" commands is this some old version of asp? or can some one tell me what it is that I can do to fix this problem...
any help would be appreciated.
esteban