ASP Request Object

## ASP Tutorial

ASP HOME ASP Introduction ASP Install ASP Syntax ASP Variables ASP Procedures ASP Forms ASP Cookies ASP Session ASP Application ASP #include ASP Global.asa ASP Send e-mail

## ASP Objects

ASP Response ASP Request ASP Application ASP Session ASP Server ASP Error ASP FileSystem ASP TextStream ASP Drive ASP File ASP Folder ASP Dictionary ASP ADO

## ASP Components

ASP AdRotator ASP BrowserCap ASP Content Linking ASP Content Rotator

## ASP and AJAX

AJAX Intro AJAX ASP AJAX Database

## ASP Summary

ASP Quick Ref ASP Summary

## ASP Examples

ASP Examples ASP Quiz ASP Certificate

# ASP Request Object

« Previous
Next Chapter »

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

## 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.

## 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.

## 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

« Previous
Next Chapter »

## Your suggestion:

Your E-mail (optional):

Page address:

Description:

Close [X]

## Thank You For Helping Us!

Your message has been sent to W3Schools.

Close [X]
Search w3schools.com:

## WEB HOSTING

Best Web Hosting UK Reseller Hosting Wow! $5 SSD Hosting

## WEB BUILDING

Download XML Editor
FREE Website BUILDER FREE Website Creator

## WEB RESOURCES

Web Statistics Web Validation

## SHARE THIS PAGE