士字辨字组词:哪位仙人能解释下面的每一行,分别什么意思,

来源:百度文库 编辑:高校问答 时间:2024/04/29 12:08:55
<% response.buffer=true %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>聊天退出处理</title>
</head>

<body>
<%
str="<p>"
str=str &"<font color=#1110ff>"& session("chater_name")&"</font>"
str=str & "离开聊天室..."
str=str &"</p>"

application.lock
application("chater_num")=application("chater_num")-1

application("chater_words")=str & application("chater_words")

application.unlock

str="<option value=" & session("chater_name") & ">"
str=str & session("chater_name") & "</option>"
'response.write(str)

if instrrev(application("chater_list"),str)<>0 then
'response.write(application("chater_list"))
del_start=instr(application("chater_list"),str)-1
response.write(del_start)

del_end=del_start+len(str)
'response.write(del_end)

str_start=left(application("chater_list"),del_start)
'response.write(str_start)
str_end=right(application("chater_list"),len(application("chater_list"))-del_end)
'response.write(str_end)

application.lock
application("chater_list")=str_start+str_end
application.unlock

end if
%>
<%=application("chater_list")%>

<table width=60% align=center bgcolor=#88ddff %>
<tr><td align=center>欢迎光临
<tr><td>
<table bgcolor=white width=100%>
<tr><td>
<tr><td align=center><a href=../chat/default.asp target=_blank>重新登录</a>
<tr><td>
</table>
</table>
</body>
</html>
一个ASP页,一个聊天室的退出处理页面.

从application.lock 开始起就有点整不明白了,谢谢
application("chater_list") ,这个打出来的应该是什么?
<option value="a">a</option>
还是仅打印 "a"

应该是<option value="a">a</option>