Ver Mensaje Individual
  #7 (permalink)  
Antiguo 26/04/2002, 11:10
Avatar de AlZuwaga
AlZuwaga
Colaborador
 
Fecha de Ingreso: febrero-2001
Ubicación: 34.517 S, 58.500 O
Mensajes: 14.550
Antigüedad: 24 años, 2 meses
Puntos: 535
Re: Quiero una Password para mi pagina!!!!!!!!!!

Yo lo haría así:

destino.asp

Código:
<%
Response.Buffer = True

usuario = Replace( Request.Form("usuario"), "'","")
password = Replace( Request.Form("password"), "'","")
If usuario = "claxon" AND password = "rojo"
then
%>

<html>

<head>
<meta http-equiv="Content-Language" content="es-ar">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Pagina nueva 4</title>
</head>

<body>

<p>BIENVENIDOSSSSSSSSSSSSSSSSSS</p>

</body>

</html>

<%
else
Response.Redirect("clave.asp")
end if
%>

por cierto Gawain , al ser un código ASP el password jamás quedará expuesto en el fuente que recive el navegador.