Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

ASP BinaryRead Method

ASP BinaryRead Method


Request Object Reference 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 the data in a safe array, which holds information about dimensions and size ranges.

**Note:** Call Request.Form after calling BinaryRead, otherwise an error will occur.

Syntax

Request.BinaryRead(count)

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

Example

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

<%

dim a,b

a=Request.TotalBytes

b=Request.BinaryRead(a)

%>


Request Object Reference Complete Request object reference manual