如何判断用户是否非正常离开聊天室?

2023-12-07 0 316

如何判断用户是否非正常离开聊天室?

total = application(\”AllPeople\”)

\’ 聊天总人数. aryHuman = split(total,\”;\”) for i = lbound(aryHuman) to ubound(aryHuman) – 1 if application(\”user\” & i) = \”online\” then if int(timer) – int(application(\”TimeBegin\” & i)) > 120 then application(\”user\” & i) = \”\” temp = aryHuman(i) aryName = split(temp,\”,\”) hrefname = aryName(0) for j = lbound(aryHuman) to ubound(aryHuman) – 1 if application(\”user\” & j) = \”online\” then application(\”content\” & j) = \”<FONT color=#000000>〖精彩春风之聊天室的系统公告〗\”&hrefname&\”</FONT>\” &\”<font color=#F08000 >\”& \”掉线了…\” & \”</font><font color = #000000 class=p9>\” & \” <\” & time() & \”></font><br>\” & application(\”content\” & j) end if next end if end if next

[1]

您可能感兴趣的文章:

  • AJAX初级聊天室代码
  • 发布一个迷你php+AJAX聊天程序[聊天室]提供下载
  • 基于HTTP长连接的"服务器推"技术的php 简易聊天室
  • php写的简易聊天室代码
  • 用PHP+MySQL搭建聊天室功能实例代码
  • PHP实现简单聊天室(附源码)
  • ASP.NET 使用application与session对象写的简单聊天室程序
  • php socket实现的聊天室代码分享
  • nodejs实现的一个简单聊天室功能分享
  • 使用Angular和Nodejs、socket.io搭建聊天室及多人聊天室

收藏 (0) 打赏

感谢您的支持,我会继续努力的!

打开微信/支付宝扫一扫,即可进行扫码打赏哦,分享从这里开始,精彩与您同在
点赞 (0)

悠久资源 编程10000问 如何判断用户是否非正常离开聊天室? https://www.u-9.cn/biancheng/bc10000/126567.html

常见问题

相关文章

发表评论
暂无评论
官方客服团队

为您解决烦忧 - 24小时在线 专业服务