How do you get information from a form that is submitted using the "post" method?
The Request.Form command is used to collect values in a form with method="post".
Information sent from a form with the POST method is invisible or unable to be seen to others and has no limits on the amount of information to send.
Example HTML form
<form method="post" action="adminform.asp"> Admin Name: <input type="text" name="aname"><br> Admin Type: <input type="text" name="atype"><br><br> <input type="submit" value="Submit"> </form>
If a user typed "Slightbook" and "Main Admin" in the HTML form above, the URL sent to the server would look like this:
Assume that the following ASP script contains by the "adminform.asp" page:
<body> The <% response.write(request.form("aname")) %> is the <% response.write(" " & request.form("atype")) %> </body>
The following is the body of the document that will be displayed by the browser:
The Slightbook is the Main Admin
What is the default scripting language in ASP?
<%= is the same as:
How do you write "Hello World" in ASP
ASP server scripts are surrounded by delimiters, which?