ASP Built-in object detailed request object

Source: Internet
Author: User
Tags format header html form iis variables version variable port number
Request| Objects | built-in objects |

The request object is used to accept all information from the browser sent to your server.

Collection

Request.clientcertificate (Key[subfield])

A collection of information about all customer certificates. For Key, the collection has the following keywords:

Subject

td>
The subject of the certificate. Contains all information about the certificate receipt. Can be used in conjunction with all child domain suffixes.

Issuer

Certificate The publisher of the book. Contains all information about certificate validation. In addition to CN, can be used with all child domain suffixes.

Vadidfrom

< p> The date the certificate was issued. Use VBScript format.

Validuntil

The certificate is not in a valid time.

serialnumber

Contains the serial number of the certificate.

Certificate

The binary stream that contains the entire contents of the certificate, using the ASN.1 format.

For subfield, the subject and issuer keywords can have the following subdomain suffix: (for example, Subjectou or Issuerl)

C

Country of origin.

O

The name of the company or organization.

OUs

Organizational unit.

CN

The general name of the user.

L

Local.

S

State (or province).

T

The title of the individual or company.

Gn

The given name.

I

Initial.

When file Cervbs.inc (VBScript) or Cerjavas.inc (JScript uses) is included in your active Server page by using the #include guide, the following two flags can be used:

Cecertpresent

Indicates whether the client certificate exists with a value of true or false.

Ceunrecongnizedissure

Indicates whether the publisher of the last certificate in the list is unknown, and its value is true or false.

Request.Cookies (cookie[(key). Attribute])

A collection of cookies. Allows you to obtain a cookie from your browser. The cookie indicates that a cookie is returned. key is used to return a cookie value with a keyword from the cookie dictionary. For attributes, you can use attribute HasKeys to determine whether a cookie has a sub keyword. The value of HasKeys is true or false.

Request.Form (Parameter) [(Index). Count]

Fill in the collection of all the data in the HTML form. parameter is the name of an element in an HTML form. Use Indexwhen a parameter has more than one value (for example, when the multiple property is used in <SELECT>). When a parameter has multiple values,count indicates the number of multiple values.

Request.QueryString (varible) [(Index). Count]

A collection of all values for the query string. varible is the name of a variable in the query string. When a variable has more than one value, the Indexis used. When a parameter has multiple values,count indicates the number of values.

Request.servervaribles (Server Environment Variable)

A collection of environment variables. Allow read HTTP headers. You can read any header information by using the HTTP_ prefix. For example, Http_user_agent accepts the client proxy HTTP header (browser type). In addition, you can use the variables shown in the following table to obtain any environmental information.

All_http

All HTTP headers sent by the client, his results are prefixed with HTTP_.

All_raw

All HTTP headers sent by the client have the same result as the client sent, no prefix http_

Appl_md_path

The metabase path of the application.

Appl_physical_path

The physical path corresponding to the application metabase path.

Auth_password

The password that the customer enters in the Password dialog box when using the Basic authentication mode.

Auth_type

This is the authentication method that the server uses to verify the user when they access the protected script.

Auth_User

The user name to authenticate.

Cert_cookie

The unique customer Certificate ID number.

Cert_flag

Customer Certificate Flag, if there is a client certificate, then Bit0 is 0. If the client certificate validation is invalid, the bit1 is set to 1.

Cert_issuer

The Publisher field in the user certificate.

Cert_keysize

The number of digits of the Secure Sockets Layer connection key, such as 128.

Cert_secretkeysize

The number of digits that the server validates private keywords. such as 1024.

Cert_serialnumber

The Serial Number field of the client certificate.

Cert_server_issuer

Publisher field for server certificate

Cert_server_subject

The subject field of the server certificate.

Cert_subject

The subject field of the client certificate.

Content_length

The length of the content that the client emits.

Content_Type

The form content sent by the customer or the data type of the HTTP put.

Gateway_interface

The gateway interface used by the server.

HTTPS

Returns on if the request crosses the secure channel (SSL). Returns off if the request is from a unsecured channel.

Https_keysize

The number of digits of the Secure Sockets Layer connection key, such as 128.

Https_secretkeysize

The number of digits that the server validates private keywords. such as 1024.

Https_server_issuer

Publisher field of the server certificate.

Https_server_subject

The subject field of the server certificate.

instance_id

ID number of the IIS instance.

Instance_meta_path

The metabase path in response to the requested IIS instance.

Local_addr

Returns the server address that accepts the request.

Logon_User

User login to Windows NT account

Path_info

The path information provided by the client.

Path_translated

A path that is obtained by a virtual to physical mapping.

Query_string

The contents of the query string.

Remote_addr

The IP address of the remote host that made the request.

Remote_host

Name of the remote host that issued the request.

Request_method

The method of making the request. such as, post, and so on.

Script_name

The name of the execution script.

server_name

The host name, DNS address, or IP address of the server.

Server_port

The server port number that accepts the request.

Server_port_secure

1 if the server port that accepts the request is a secure port, or 0.

Server_protocol

The name and version of the protocol used by the server.

Server_software

The name and version of the server software that answered the request and ran the gateway.

Url

Provides an essential part of a URL.

Method

Request.BinaryRead (Count)

Receives the unhandled content of an HTML form. When this method is called,Count indicates how many bytes to receive. When this method is called,Count indicates how many bytes were actually received.

Property

Request.TotalBytes

The length of the query body, in bytes.



Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.