ASP BinaryRead Method
Last Updated :
31 Jul, 2020
The ASP BinaryRead Method is used to retrieve the data that sent to the server from the client-side using POST request. This Method stores the data in Safe Array. A Safe Array is used to store the information about the number and the bounds of its dimensions.
Syntax:
Request.BinaryRead(count)
Parameter Values: This property accepts a single parameter as mentioned above and described below:
- count: It contains a counter variable that specifies how many bytes to read from the client before the time of execution.
Example: Below code uses the BinaryRead method to place the content of a request into a safe array.
HTML
<%
dim a,b
a=Request.TotalBytes
'fetch the total number of Bytes
b=Request.BinaryRead(a)
%>
|
Like Article
Suggest improvement
Share your thoughts in the comments
Please Login to comment...