(Typically, Web-based forms forward requests to a separate Web page containing error information.
HTMLEncode all form input when your Web page accesses the input. However, more information can be found by reading chapter 12 of Writing Secure Code, and using Checklist: ASP Security when you create your ASP applications.
Another method is to write a short function that tests form input for invalid characters. In this lesson, you create an HTML page that accepts user input in an HTML form and sends the user input back to the Web server to the same page. Later in this module, you use this knowledge about forms to build a guest book application that uses ASP scripting.
To complete this lesson, you perform the following tasks: Forms can contain many different kinds of elements to help your users enter data.
In this example, there are five input form elements called buttons.
When a user clicks the button labeled "Submit" in your Web page, the form data is sent from the client to the Web page that is listed in the ACTION element of the form tag.