如何判斷用戶是否非正常離開聊天室?
如何判斷用戶是否非正常離開聊天室?
total = application("AllPeople")
' 聊天總?cè)藬?shù).
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>〖精彩春風之聊天室的系統(tǒng)公告〗"&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]
相關(guān)文章
如何讓用戶再次訪問我的網(wǎng)站時不需再提交相關(guān)信息?
如何讓用戶再次訪問我的網(wǎng)站時不需再提交相關(guān)信息?...2006-11-11如何用數(shù)據(jù)庫制作一個多用戶版的計數(shù)器?
如何用數(shù)據(jù)庫制作一個多用戶版的計數(shù)器?...2006-11-11如何利用數(shù)據(jù)庫內(nèi)容建立一個下拉式列表?
如何利用數(shù)據(jù)庫內(nèi)容建立一個下拉式列表?...2006-11-11