The following is first the code for an html page. As you see it refers to another page register.htm. That should be register.asp, but .asp does nothing. The code for the register.asp/htm is the second code listing. All it is basically supposed to do is spit the entered values back with CRLF's between the header and "this is a test". The only output however is the header and "this is a test". And I only get that output if I make the extension .htm instead of .asp. .asp does nothing. Below is the calling pages code, then the register.htm/asp and then the output.<br>
<br>
<HTML><HEAD> <TITLE>Product Registration</TITLE></HEAD><br>
<BODY><br>
<H3>Product Registration</H3><br>
<FORM NAME="Form1" METHOD=POST ACTION="Register.htm"><br>
<INPUT TYPE=TEXT NAME="Name" VALUE="Enter Name here" SIZE=30><br>
<BR><BR><br>
<INPUT TYPE=TEXT NAME="Email" VALUE="Enter Email Address here" SIZE=30><br>
<BR><BR><br>
<INPUT TYPE=TEXT NAME="ID" VALUE="Enter Product ID # here" SIZE=30><br>
<INPUT TYPE="submit" name="submit1" value="Submit"><br>
<BR><br>
</FORM></BODY></HTML><br>
<br>
<br>
<br>
<HTML> <HEAD> <TITLE>Registration Complete</TITLE></HEAD><br>
<BODY><br>
<H3>Registration Complete</H3><br>
<%<br>
Response.Write Request.Form("Name"<br>
Response.Write chr(13) & chr(10)<br>
Response.Write Request.Form("Email"<br>
Response.Write chr(13) & chr(10)<br>
Response.Write Request.Form("ID"<br>
Response.Write chr(13) & chr(10)<br>
%><br>
THIS IS A TEST<br>
</BODY></HTML><br>
<br>
<br>
<br>
<br>
Registration Complete<br>
THIS IS A TEST <br>
<br>
<HTML><HEAD> <TITLE>Product Registration</TITLE></HEAD><br>
<BODY><br>
<H3>Product Registration</H3><br>
<FORM NAME="Form1" METHOD=POST ACTION="Register.htm"><br>
<INPUT TYPE=TEXT NAME="Name" VALUE="Enter Name here" SIZE=30><br>
<BR><BR><br>
<INPUT TYPE=TEXT NAME="Email" VALUE="Enter Email Address here" SIZE=30><br>
<BR><BR><br>
<INPUT TYPE=TEXT NAME="ID" VALUE="Enter Product ID # here" SIZE=30><br>
<INPUT TYPE="submit" name="submit1" value="Submit"><br>
<BR><br>
</FORM></BODY></HTML><br>
<br>
<br>
<br>
<HTML> <HEAD> <TITLE>Registration Complete</TITLE></HEAD><br>
<BODY><br>
<H3>Registration Complete</H3><br>
<%<br>
Response.Write Request.Form("Name"<br>
Response.Write chr(13) & chr(10)<br>
Response.Write Request.Form("Email"<br>
Response.Write chr(13) & chr(10)<br>
Response.Write Request.Form("ID"<br>
Response.Write chr(13) & chr(10)<br>
%><br>
THIS IS A TEST<br>
</BODY></HTML><br>
<br>
<br>
<br>
<br>
Registration Complete<br>
THIS IS A TEST <br>