ASP BinaryReadMethod


Request 对象参考手册Complete Request Object Reference Manual

The BinaryRead method is used to retrieve data sent from the client to the server as part of a POST request. It stores data in a safe array, which is used to store information about dimensions and size ranges.

Note:Please call Request.Form after calling BinaryRead, otherwise it will cause an error.

Syntax

Request.BinaryRead(count)

Parameter Description
count Required. Specifies how many bytes to read from the client.

Example

The following example uses the BinaryRead method to put the contents of a request into a safe array:

<%
dim a,b
a=Request.TotalBytes
b=Request.BinaryRead(a)
%>


Request 对象参考手册Complete Request Object Reference Manual Other Extensions