Microsoft VBScript 运行时错误 (0x800A01A8)缺少对象
错误类型:
Microsoft VBScript 运行时错误 (0x800A01A8)
缺少对象: ''
/通讯录/login.asp, 第 8 行
<!---%include file="conn.asp"--->
<%
if request.Form("user") <> ""then
sql="select user ,pass from [user]"
sql=sql & "where user='" & request("user") & "'and pass='" & request("pass") & "'"
dim rs
set rs=conn.execute ————第8行!!!
if not rs.eof and not rs.bof then
session("user")=rs("user")
session("pass")=rs("pass")
response.Redirect(txl.asp)
else
response.Write"对不起,用户名或密码有误,请重新登录"
end if
end if
%>