在线人数写法
摘要:最后显示在线人数。user=split(application("user"),";")num=ubound(user)response.w...
<%
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
【在线人数写法】相关文章:
★ 替换数据库内容
★ ASP函数大全
上一篇:
asp 全面安全数据连接代码