ASP写的登录界面怎么实现跳转啊??希望各位哥哥姐姐帮帮忙。
<%username=replace(request.form("username"),"'","''")
password=replace(request.form("password"),"'","''")
aRePassWD = Trim(Request("checkcode"))
If aRePassWD = CStr(Session("pSN")) Then
sql="select * from admin_login where(username='"&username&"' and password='"&md5(password)&"')"
set rs=server.createobject("adodb.recordset")
rs.open sql,conn,1,1
if not rs.eof then
session("type_admin")=username
response.Redirect "AdminIndex.asp"
else
session("type_admin")=""
response.Redirect "Error.asp"
end if
rs.close
conn.close
Else
response.Redirect "Error.asp"
End If
End If
%>
登录成功后怎么老跳到http://localhost/index.asp?action=login界面就不动了。。我想让它跳到AdminIndex.asp的 怎么办啊 呜呜。。。。