Open In App

ASP TotalBytes Property

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:

Example: Below code uses a counter variable that stores a total number of bytes included. 






<%
dim countByte
'counter variable that counts the total number of bytes
countByte=Request.TotalBytes
%>

Article Tags :