W3Schools.com

ASP Request Object


The Request object is used to get information from a visitor.


Examples

QueryString Collection Examples

Send query information when a user clicks on a link
How to send query information to a page within a link, and retrieve that information on the destination page (which is, in this example, the same page).

A QueryString collection in its simplest use
Use the QueryString collection to retrieve the values from a form (the form uses the get method - the information sent is visible to everybody).

How to use information from forms
How to use the values retrieved from a form.

More information from a form
What the QueryString collection contains if several input fields have equal names. It also shows how to use the Count keyword to count the "name" property.

Examples

Form Collection Examples

A form collection in its simplest use
How the Form collection retrieves the values from a form (the form uses the post method - the information sent is invisible to others).

How to use information from forms
How to use the values retrieved from a form.

More information from a form
What the Form collection contains if several input fields have equal names. It also shows how to use the Count keyword to count the "name" property.

A form with radio buttons
How to interact with the user through radio buttons.

A form with checkboxes
How to interact with the user through checkboxes.

Examples

Other Examples

Get the server variables
How to get the visitor's browser type, IP address, and more. 

Create a welcome cookie
How to create a Welcome Cookie.

Find the total number of bytes the user sent
How to find the total number of bytes the user sent in the Request object.


Request Object

When a browser asks for a page from a server, it is called a request. The Request object is used to get information from a visitor. Its collections, properties, and methods are described below:

Collections

Collection Description
ClientCertificate Contains all the field values stored in the client certificate
Cookies Contains all the cookie values sent in a HTTP request
Form Contains all the form (input) values from a form that uses the post method
QueryString Contains all the variable values in a HTTP query string
ServerVariables Contains all the server variable values

Properties

Property Description
TotalBytes Returns the total number of bytes the client sent in the body of the request

Methods

Method Description
BinaryRead Retrieves the data sent to the server from the client as part of a post request and stores it in a safe array


WEB HOSTING
Best Web Hosting
PHP MySQL Hosting
Best Hosting Coupons
UK Reseller Hosting
Cloud Hosting
Top Web Hosting
$7.95/mo SEO Hosting
Premium Website Design
WEB BUILDING
XML Editor - Free Trial!
FREE Website BUILDER
Free Website Templates Free CSS Templates
Make Your Own Website
W3SCHOOLS EXAMS
Get Certified in:
HTML, CSS, JavaScript, XML, PHP, and ASP
W3SCHOOLS BOOKS
New Books:
HTML, CSS
JavaScript, and Ajax
STATISTICS
Browser Statistics
Browser OS
Browser Display
SHARE THIS PAGE