response.redirect格式
if request("realname")<>"" then
sql="select * from user where realname='"&request("realname")&"'"
Set rs=db.execute(sql)
if rs.EOF or rs.BOF then
response.write "<script>alert('输入错误');history.go(-1)</script>"
else
Session("userid")=rs("id")
Response.Redirect("my_borrow.asp?id=Session("userid")")
end if
end if
这样写对吗?