请asp高手们帮我看看这个页面代码错在哪?
<!-- #include file="conn.asp" --><% if request.Form("useid")<>"" and request.Form("pwd")<>"" then user=request.Form("useid") pwd=request.Form("pwd") set rs1=server.CreateObject("adodb.recordset") sql1="select * from webuser2 where name=✀"&user&"✀" rs1.open sql1,conn,1,3 if rs1.eof and rs1.bof then%> <script language="javascript"> alert("输入的用户名错误,请重新输入!"); location=✀default.html✀; </script><% else if rs1("password")=pwd then response.Redirect("search.asp") end if end if else response.Redirect("default.html") end if rs1.close set rs1=nothing conn.close set conn=nothing %>为什么它就不会跳转到search.asp页面?我是新学着做的,请高手指点一下,谢谢郁闷得很,因为我这个asp是加SQL的,我那个表密码那个字段是用nvarchar(20)类型,如果密码是数字的话就对的,但用英文字母的时候就出错了,为什么呢?望高手指点,谢谢