Latest web development tutorials

ASP BinaryRead method

Request Object Reference Complete Request Object Reference

BinaryRead method for acquiring as part of a POST request is sent from the client to the server data. It will be in a secure data stored in the array, the array for information about the dimension and the size range storage.

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

grammar

Request.BinaryRead(count)

参数 描述
count 必需。规定要从客户机读取多少字节。

Examples

The following example uses BinaryRead method 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