一聚教程网:一个值得你收藏的教程网站

热门教程

一个简单聊天试的源代码!(三)

时间:2022-07-02 23:31:48 编辑:袖梨 来源:一聚教程网

forum.asp
<%
On error resume next
%>
<%
KNAME=SESSION("KNAME")
RESPONSE.WRITE KNAME
If trim(Request.Form("content"))="" then
talk=kname&" 沉默是金。"
Else
talk=trim(Request.Form("content"))
End If
Application.lock
Application("show")="
来自 "&Request.ServerVariables("remote_addr")&" 的 "&Session("KNAME")&time&" 说:"&talk&"

"&Application("show")
Application.UnLock
Response.Write Application("show")
%>

热门栏目