I have a problem on my password page not going to the correct page. When the user enters a password it takes them to another page which redirects them to the correct page. But no matter what they enter it goes to the first page. Below is what I have.
<
%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "
http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
<style type="text/css">
<!--
body {
background-color: #003366;
}
.style1 {
color: #FFFFFF;
font-weight: bold;
}
-->
</style></head>
<% Dim passw
passw = Request.Form("passwsd")
If Ucase(passw) <> "PROV" then Response.Redirect("inplantprovidence.asp")
If Ucase(passw) <> "BROCK" then Response.Redirect("inplantbrockton.asp")
If Ucase(passw) <> "CAPE" then Response.Redirect("inplantcape.asp")
%>
<body>
<div align="center" class="style1">
<p>You Have Entered an Incorrect Password</p>
<form name="form1" method="post" action="password.htm">
<input name="Retry" type="submit" id="Retry" value="Retry">
</form>
<p> </p>
</div>
</body>
</html>
Edited by t4p67b96 - 12 May 2005 at 3:31pm