Sorry for my english, i'm french canadian!
Hi again, this is my asp file call "valid". This file are called by login.html. No problem for this. In my asp file, if the login is wrong, I call erreur.html. In this file (erreur.html), I want a button for returning to login.html. I tried:
"<form action="login.html" method="post">
<input type="button" value="return to ...">
</form>"
but nothing. I tried aslso:
"<form action=" method="post">
<input type="button" value="return to ...">
</form>"
also nothing !
If someone can help me !!! Thanks ! see below for some file
VALID.ASP
<%
DIM login
DIM password
login = request.form("login"
password = Request.Form("password"
if (login="rros017" and password="osaka98a" then
Response.Redirect(login & ".html"
elseif (login="rdus019" and password="repas03n" then
Response.Redirect(login & ".html"
else
Response.Redirect("erreur.html"
end if
%>
ERREUR.HTML
<html>
<!-- Date de création: 2001-10-17 -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title></title>
<meta name="Description" content="">
<meta name="Keywords" content="">
<meta name="Author" content="!! LoYa !!">
<meta name="Generator" content="WebExpert 2000">
</head>
Mauvais mot de passe !
*********
*** Want to return to login.html
*********
</html>
Hi again, this is my asp file call "valid". This file are called by login.html. No problem for this. In my asp file, if the login is wrong, I call erreur.html. In this file (erreur.html), I want a button for returning to login.html. I tried:
"<form action="login.html" method="post">
<input type="button" value="return to ...">
</form>"
but nothing. I tried aslso:
"<form action=" method="post">
<input type="button" value="return to ...">
</form>"
also nothing !
If someone can help me !!! Thanks ! see below for some file
VALID.ASP
<%
DIM login
DIM password
login = request.form("login"
password = Request.Form("password"
if (login="rros017" and password="osaka98a" then
Response.Redirect(login & ".html"
elseif (login="rdus019" and password="repas03n" then
Response.Redirect(login & ".html"
else
Response.Redirect("erreur.html"
end if
%>
ERREUR.HTML
<html>
<!-- Date de création: 2001-10-17 -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title></title>
<meta name="Description" content="">
<meta name="Keywords" content="">
<meta name="Author" content="!! LoYa !!">
<meta name="Generator" content="WebExpert 2000">
</head>
Mauvais mot de passe !
*********
*** Want to return to login.html
*********
</html>