<%
user=request.cookies("21bbsusername")
totaluser=application("user")
if instr(totaluser,user)=0 then
application.lock
application("user")=totaluser&";"&user
application.unlock
end if
%>
<html>
<head>
<meta http-equiv="refresh" content="2">
</head>
<body>
</body>
</html>
最後顯示在線人數。
user=split(application("user"),";")
num=ubound(user)
response.write num