Request Object Implementation

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 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 JScript and VBScript languages use only Unicode strings internally. Windows 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.

The BinaryRead method may be called multiple times. On the first call to BinaryRead, Windows CE-based ASP reads count bytes from the beginning of the Form data. On the next call to BinaryRead, Windows 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

Collection Objects | Server Objects

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.