The ASP TotalBytes is a read-only property. This Property is used to return the total number of bytes that the client will send through the body of the request.
Syntax:
Counter = Request.TotalBytes
Parameter Values: This property accepts a single parameter as mentioned above and described below:
- Counter: It contains a counter variable that uses to receive the total number of bytes that the client sends in the body of the request.
Example: Below code uses a counter variable that stores a total number of bytes included.
HTML
<%
dim countByte
'counter variable that counts the total number of bytes
countByte=Request.TotalBytes
%>
|
Last Updated :
31 Jul, 2020
Like Article
Save Article
Share your thoughts in the comments
Please Login to comment...