Classic ASP·Classic ASP essentials

Forms

Request collects query, form and cookie values.

Beginner 10 min read Lesson 2 of 150 Challenge included
What you will be able to do
  • Use Request.Form for POST.
  • Use Request.QueryString for GET.
  • Escape output with Server.HTMLEncode.

In plain English

Request collects query, form and cookie values.

  • Use Request.Form for POST.
  • Use Request.QueryString for GET.
  • Escape output with Server.HTMLEncode.
form.aspText
<%
Dim email
email = Request.Form("email")
Response.Write Server.HTMLEncode(email)
%>
Your turn

Explain it back

Easy

Answer from memory: Which collection reads POST fields?

TEXT · starter
Your answer…
Check your understanding before moving on.
Knowledge checkQuestion 1

Which collection reads POST fields?

Select an answer to continue
Study tools

Make it yours.

Keep a private note for this lesson, then turn the key ideas into flashcards you can revisit.

Sign in to save notes and flashcards.Both are private to your account and stay with your progress.
Sign in
Finished reading?

Lock in what you just learned.

Mark this lesson complete to save your place and move one step closer to the certificate.

Next: Sessions
Lesson 2 of 150 · 0% of course