ITPub博客

首页 > Linux操作系统 > Linux操作系统 > XMLHTTP+Javascript+Asp写得聊天室,无刷新实现(三)(转)

XMLHTTP+Javascript+Asp写得聊天室,无刷新实现(三)(转)

原创 Linux操作系统 作者:jcszjswkzhou 时间:2019-05-19 15:36:05 0 删除 编辑
################reload.asp##############

<%'Response.ContentType="text/xml"
Response.Write ""
Response.Write ""
dim c_info,c_Lid,c_Ip,u_Lid,NewLid,u_name,i
c_info=Application("c_info")
u_Lid=session("u_Lid")
newLid=u_Lid
u_name="netnice"
for i=c_info(0)+6 to 240 step 6
if (c_info(i)>u_Lid) and ((c_info(i+1)=u_name) or (c_info(i+2)=u_name) or (c_info(i+2)="大家") or (c_info(i+3)="0")) then
Response.Write c_info(i+5)
if (newLidend if
next
for i=1 to c_info(0) step 6
if (c_info(i)>u_Lid) and ((c_info(i+1)=u_name) or (c_info(i+2)=u_name) or (c_info(i+2)="大家") or (c_info(i+3)="0")) then
Response.Write c_info(i+5)
if (newLidend if
next
Response.Write "
"
session("u_Lid")=newLid
%>


来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/10294527/viewspace-124865/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2007-08-29

  • 博文量
    3481
  • 访问量
    3018243