在同一个页面做验证如何使他不先显示.
<%if request <>"" thenusername=request("usernam")
password=request("password")
set rs=server.CreateObject("Adodb.recordset")
sql="select * from yuaner_admin where username='"&username&"' and password='"&password&"' "
rs.open sql,conn ,1,1
if rs("admin")<>username and rs("password")<>password then
response.write("您的输入不正确")
else
session("UserName")=request("username")
session("PassWord")=md5(request("password"))
end if
end if
每次进入页面都先显示您的输入不正确,应怎么加条件