Ver Mensaje Individual
  #14 (permalink)  
Antiguo 17/03/2007, 22:41
Avatar de Shiryu_Libra
Shiryu_Libra
Colaborador
 
Fecha de Ingreso: febrero-2007
Ubicación: Cantando "Screenager" en "Kirafa Kaput"
Mensajes: 3.614
Antigüedad: 18 años, 2 meses
Puntos: 88
De acuerdo Re: Hacer la siguiente redireccion al validar

Cita:
Iniciado por Shiryu_Libra Ver Mensaje
con tu permiso

set oConn=Server.CreateObject("ADODB.Connection")
oConn.Open "xxxxxxxx"
SQL="SELECT Id, Login, Password, URL FROM " & _
"xxx.prueba WHERE (Login='"&nombre&"' AND Password='"&password&"');"

set rs=oConn.Execute(SQL)

if rs.EOF then
Session("ID")=Cint(0)
Response.Redirect("error.asp")
else

Session("ID")=CInt(rs.Fields("Id"))

pagina = RS.fields("URL").value
pagina=replace(pagina," ","")
Response.Redirect(pagina)


end if

creo que asi deberia funcionar compañero

le agrege esa linea, espero que ahora si te funcione como esperas, suerte