Microsoft Windows CE 3.0  

Request Object Implementation

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

The Requestobject retrieves the values that the client browser passed to the server during an HTTP request. The following table lists the level of support for the Requestobject:

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 (see Note).
Note   The BinaryReadmethod returns the data exactly as it is read from the browser, which can have unexpected results. Both the JScript and VBScript languages use only UNICODE strings internally. Windows CE 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 BinaryReadmethod may be called multiple times. On the first call to BinaryRead, ASP reads countbytes from the beginning of the Form data. On the next call to BinaryRead, ASP reads from where the first call to BinaryReadended, and not from the beginning of the Form buffer. Similarly, subsequent calls to BinaryReadbegin where the last read ended and not at the beginning.


 Last updated on Friday, April 02, 2004

© 2004 Microsoft Corporation. All rights reserved.