XMLHTTP+Javascript+Asp写得聊天室,无刷新实现(三)
作者:admin 发布时间:2007-11-12 9:53:13 发布人:admin 来源:ASP教程
<%'Response.ContentType="text/xml"
Response.Write "<?xml version=""1.0"" encoding=""GB2312""?>"
Response.Write "<Msg>"
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 (newLid<c_info(i)) then newLid=c_info(i)
end 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 (newLid<c_info(i)) then newLid=c_info(i)
end if
next
Response.Write "</Msg>"
session("u_Lid")=newLid
%>
资源搜索 |
|
热点文章
- 黄色网站侵染手机 淫秽图片小说视频样样全(图)04-07
- 为Exchange Server安装WAP电子邮件网关04-08
- NET移植案例学习:建造Web站点(7)11-12
- 一个基于web的QQ程序 2(xml+asp)11-12
- 排序方式解决“上下主题”问题(一)11-12
- 排序方式解决“上下主题”问题(二)11-12
- 排序方式解决“上下主题”问题(三)11-12
- 一个基于web的QQ程序 1(xml+asp)11-12
- XMLHTTP+Javascript+Asp写得聊天室,无刷新实现(一)11-12
- XMLHTTP+Javascript+Asp写得聊天室,无刷新实现(二)11-12
- XMLHTTP+Javascript+Asp写得聊天室,无刷新实现(三)11-12
- XMLHTTP+Javascript+Asp写得聊天室,无刷新实现(四)11-12


