错误类型:
Microsoft VBScript 编译器错误 (0x800A0408)
无效字符
<%
session("username")=request.form("username")
session("usercolor")=request.form("usercolor")
session("userfig")=request.form("userfig")
if session("username")="" then
response.write "很抱歉,你尚未登录,无法进入聊天室!"
response.end
end if
application.lock
for i=21 to 2 step -1
j=i-1
application("msg"&i)=application("msg"&j)
next
strhour=hour(time())
if len(strhour)=1 then strhou="0" & strhour
strminute=minute(time())
if len(strminute)=1 then strminute="0" & strminute
strtime="<" & strhour & ":" & strminute & "> "
strtmp="<font color='" & session("usercolor") & "'>" &"大家好,我是"& session("username") & ",请多多指教! " & strtime & " </font>"
application("msg1")=strtmp
application.unlock
%>
<html>
<head>
<title>聊天室</title>
</head>
<framest rows="56,*,101">
<frame name="top" noresize scrolling="no" src="userinfo.asp?logout="no">
<framest cols="160,*">
<frame name="lmiddle" noresize src="userlist.asp?username=<%= session("username") %>">
<frame name="rmiddle" noresize src="chatlist.asp">
</framest>
<frame name="bottom" noresize scrolling="no" src="inputmsg.asp">
</framest>
</html>
是红色部分出错,请问哪个是无效字符?