Using the POST Method in ASP Example
<% @LANGUAGE = VBScript %>
<% Option Explicit %>
<% Dim strFirstname, strLastname %>
<%
If Request.ServerVariables("CONTENT_LENGTH") <> 0 Then
strFirstname = Trim(Request.Form("firstname"))
strLastname = Trim(Request.Form("lastname"))
%>
<HTML><BODY>Your name is <%= strFirstname %> <%= strLastname %></BODY></HTML>
<% Else %>
<HTML><BODY>
<FORM ACTION="<this page>.asp" METHOD="POST">
What is your name ? <INPUT TYPE="Text" NAME="firstname"> <INPUT TYPE="Text" NAME="lastname">
<INPUT TYPE="Submit" NAME="submit" VALUE="Submit Form">
</FORM>
</BODY></HTML>
<% End If %>