Partager via


Request Object Implementation

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

The Request object retrieves the values that the client browser passed to the server during an HTTP request. The following table lists the levels of support for the Request object.

Request method Windows Embedded CE implementation

ClientCertificate

No support.

Cookies

See Collection Objects.

Form

See Collection Objects.

QueryString

See Collection Objects.

ServerVariables

See Collection Objects.

TotalBytes

Full support.

BinaryRead

Full support.

Note

The BinaryRead method returns the data exactly as it is read from the browser. This can have unexpected results. Both the Microsoft JScript and VBScript languages use only Unicode strings internally. Windows Embedded CE–based ASP automatically converts ASP pages from ANSI to Unicode, but it does not perform the same conversion on data from BinaryRead. If the browser sends an ANSI string as form data and an ASP page calls BinaryRead, no conversion to Unicode is made and the data is unintelligible to the scripting language.

Note

The BinaryRead method may be called multiple times. On the first call to BinaryRead, Windows Embedded CE-based ASP reads count bytes from the beginning of the Form data. On the next call to BinaryRead, Windows Embedded CE-based ASP reads from where the first call to BinaryRead ended and not from the beginning of the Form buffer. Similarly, subsequent calls to BinaryRead begin where the last read ended and not at the beginning.

See Also

Concepts

Collection Objects
Server Objects