源代码<%
user=split(application("OnlineUser"),",",-1) '获得在线用户列表
app = "["&request("userid")&"]"
for i=0 to ubound(user) '获得非空的在线用户列表
if user(i) = app then
Response.Redirect "bbsmsg.asp?msg=报谦,已有人用这个名字了!"
end if
next
Session("UserID")=app
Application.Lock
Application("OnlineUser") = Application("OnlineUser") & "," & app
Application.Unlock
response.redirect "bbsAutoSearch.asp"
%>
<html>
<head>
<title>
login
</title>
</head>
<body>
</body>
</html>
附:源代码5:BBSLOGIN.HTM
80酷酷网 80kuku.com