关于一个聊天框架的实现问题?

chuchulu 2005-09-28 04:31:16
< %
name=request.form("name")
same_flag=false
if not isarray(application("userlist")) then
dim u()
redim u(0)
u(0)="大家"
application.lock
application("userlist")=u
application.unlock
else
user=applicatiopn("userlist")
for i=0 to ubound(user)
if user(i)=name then
same_flag=true
end if
next
end if
if trim(name)="" or same_flag then
response.redirect"log.asp"
else
user1=application("userlist")
n=ubound(user1)
redim preserve user(n+1)
user(n+1)=name
application.lock
application("userlist")=user1
application.unlock
end if
%>
<html>
<frameset row="*, 100">
<frameset cols="*,150">
<frame src="message.asp" name="message">
<frame src="userlist.asp" name="user">
</frameset>
<frame src="say.asp? name=< % =name %>" name="say">
</frameset>
</html>


各位高手,这是我做的一个聊天的框架,不能实现,请问是什么问题啊?
...全文
70 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

28,406

社区成员

发帖
与我相关
我的任务
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
  • ASP
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧