Skip to content
Related Articles

Related Articles

Improve Article

ASP TotalBytes Property

  • Last Updated : 31 Jul, 2020
Geek Week

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
%>
My Personal Notes arrow_drop_up
Recommended Articles
Page :