Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Simple ASP problem?

Simple ASP problem?

Simple ASP problem?

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.

<HTML><HEAD> <TITLE>Product Registration</TITLE></HEAD>
<H3>Product Registration</H3>
<FORM NAME="Form1" METHOD=POST ACTION="Register.htm">
<INPUT TYPE=TEXT NAME="Name" VALUE="Enter Name here" SIZE=30>
<INPUT TYPE=TEXT NAME="Email" VALUE="Enter Email Address here" SIZE=30>
<INPUT TYPE=TEXT NAME="ID" VALUE="Enter Product ID # here" SIZE=30>
      <INPUT TYPE="submit" name="submit1" value="Submit">

<HTML> <HEAD> <TITLE>Registration Complete</TITLE></HEAD>
<H3>Registration Complete</H3>
Response.Write Request.Form("Name")
Response.Write chr(13) & chr(10)
Response.Write Request.Form("Email")
Response.Write chr(13) & chr(10)
Response.Write Request.Form("ID")
Response.Write chr(13) & chr(10)

Registration Complete

RE: Simple ASP problem?

PS. I'm using IE 5.0

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close