asp 问题
一验证用户名和密码的总是说Response.write("error")有错
<!--#--include file="conn.asp"-->
<%
dim rs
dim i
dim id
dim pwd
id=trim(request.Form("uid"))
pwd=trim(request.form("pwd"))
if (id=""or pwd="") then
response.redirect("denglu.asp")
response.end
end if
set rs=server.CreateObject("adodb.recordset")
rs.open "select * from yonghu where username='"&id&"' and password='" &pwd&"'",conn
if rs.eof then
Response.write("error")
Response.end
else
response.cookies("id")=id
response.cookies("quanxian")=rs("quanxian")
response.cookies("passed")="passed"
response.Redirect("xianshi.asp")
end if
%>
总是说Response.write("error")有错怎么回事?
二用CDONT组件发邮件是总是发不出去
全在C:\Inetpub\mailroot\Queue下面就是发不出去
有是怎么回事啊?
做毕业设计急
谢谢大家帮忙啊
[此贴子已经被作者于2007-3-28 8:29:54编辑过]