展会信息港展会大全

在线人数写法 android软件开发教程
来源:互联网   发布日期:2016-03-01 11:04:21   浏览:1860次  

导读:% 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 /h...

<%

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

赞助本站

人工智能实验室

相关热词: 开发 编程 android

AiLab云推荐
推荐内容
展开

热门栏目HotCates

Copyright © 2010-2024 AiLab Team. 人工智能实验室 版权所有    关于我们 | 联系我们 | 广告服务 | 公司动态 | 免责声明 | 隐私条款 | 工作机会 | 展会港