Change our HTML form
As we begin to create a new ASP file, we want to change our "tizagform.html" file using the Post method and form to transfer the data to different ASP pages. The following example provides the latest code for "Tizagform.html".
<form method= "POST" action= "tizagpost.asp" >
Name <input type= "text" name= "name"/>
Age <input type= "text" name= "age"/>
<input type= "Submit"/>
</form>
Create an ASP Post processor
Our new ASP file will be called "tizagpost.asp" and will be saved in the same directory "tizagform.html".
When the Post method is used to send the data retrieved by the information and the Request object Form collection. Therefore, the only difference between get and post processors is to replace all the QueryString tables.
In the following example we have made the correct changes and emphasized them in red.
<%
Dim name, age
Name = Request.Form ("name")
Age = Request.Form (' age ')
Response.Write ("Name:" & name & "<br/>")
Response.Write (' Age: ' & Age & ' <br/> ')
%>