Doesn't work :((
This is my login.asp page:
<%@LANGUAGE="VBSCRIPT"%>
<!--#include file="Connections/Conn.asp" -->
<%
set RcLogin = Server.CreateObject("ADODB.Recordset")
RcLogin.ActiveConnection = MM_Conn_Habilitados_STRING
RcLogin.Source = "SELECT * FROM Usuarios "
RcLogin.CursorType = 0
RcLogin.CursorLocation = 2
RcLogin.LockType = 3
RcLogin.Open()
RcLogin_numRows = 0
%>
<%
if request.form("user") = rs("user") then
if request.form("password") = rs("password") then
Response.Redirect( rs("url") )
else
response.redirect("login.asp?error=password")
end if
else
response.redirect("login.asp?error=username")
end if
%>
<html>
<head>
<title></title>
</head>
<body bgcolor="#FFFFFF" text="#000000">
<form name="form1" method="post" action="">
user <input type="text" name="user">
password <input type="text" name="password">
<input type="submit" name="Submit" value="Submit">
</form>
</body>
</html>
<%
RcLogin.Close()
%>
AND this is the reported error
Tipo de error:
Error de Microsoft VBScript en tiempo de ejecución (0x800A000D)
No coinciden los tipos: 'rs'
Than you for spent your time with this