THE WORLD'S LARGEST WEB DEVELOPER SITE

ASP BinaryRead Method


❮ Complete Request Object Reference

The BinaryRead method is used to retrieve the data sent to the server from the client as part of a POST request. It will store the data in a safe array (an array that stores information about the number of dimensions and the bounds of its dimensions).

Note: A call to Request.Form after a call to BinaryRead, and vice-versa, will cause an error.

Syntax

Request.BinaryRead(count)

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

Examples

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

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

❮ Complete Request Object Reference