
18/02/2003, 08:46
|
| | Fecha de Ingreso: mayo-2001 Ubicación: Monterrey, N.L.; México
Mensajes: 558
Antigüedad: 23 años, 11 meses Puntos: 0 | |
Ojo amigo ... Prueba con las siguientes páginas que te doy como ejemplo... debe funcionar: principal.asp <html>
<head>
<title>Pagina nueva 1</title>
</head>
<body>
<form method="POST" action="redirect.asp">
<div align="left">
<table border="0" style="border-collapse: collapse" bordercolor="#111111" width="32%" id="AutoNumber1">
<tr>
<td width="32%"><b><font size="2" face="Arial">Password</font></b></td>
<td width="68%">
<p align="center"><input type="text" name="pass" size="20"></td>
</tr>
<tr>
<td width="32%"> </td>
<td width="68%"> </td>
</tr>
<tr>
<td width="32%"> </td>
<td width="68%">
<p align="center"><input type="submit" value="Enviar" name="B1"></td>
</tr>
</table>
</div>
</form>
</body>
</html>
============================================== redirect.asp
<%if request.form("pass")="hola" then
response.redirect "http://www.invertia.com"
else
response.redirect "http://www.google.com"
end if
%>
Lo que pasa es que es ( creo yo ) estabas agregando las lineas que redireccionan en la misma página donde escribias el password.
prueba con esto.. espero funcione..
Saludos
Owen
__________________ Luis Gerardo Soto Bonilla [email protected]
Monterrey, Nuevo León
México |