下面是登录系统中check.asp的部分代码,请根据login.asp和题目说明,补充完成。
......
<%
Username-trim(request("admin_name"))
Password=trim(request(" (12) "))
set rs=server.createobj ect(¨adodb.recordset")
sql="select * from admin where Username=’"&Username&"’ andPassword=’"&md5 (Password)&"’"
(13) .open sql,connf 1,3
if rs. (14) then
response .write"<center>" &Username&”对不起,用户名、密码有误,重新输入”
else
......
ses sion(¨admin_n ame¨)=request(¨admin_n ame¨)
response._(15)"index.asp"
end if
......
%>
备选答案:
A.rs
B.redirect
C.eof
D.admin_pass