里面的这断代码再如何加设验证码检查输入正确否。
请问各位。如下一页代码中,如何再加入检查用户输入验证码正确否代码?搞了半天都不成,请帮帮忙。<%
admin=request.form("admin")
password=request.form("password")
if admin="" or password="" then
response.write("<script language=javascript>alert('请填写完整');history.go(-1)</script>")
end if
sql="select * from admin where admin='"&admin&"' and password='"&password&"'"
set rs=conn.execute(sql)
if rs.eof or rs.bof then
response.write "<script language=javascript>"
response.write "alert('用户或密码不对!');"
response.write "javascript:history.go(-1);"
response.write "</script>"
else
session("admin")=admin
session("userClass")=1
response.redirect "manage.asp"
%>
<%
end if
%>