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:

  • 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

filter_none

edit
close

play_arrow

link
brightness_4
code

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

chevron_right


My Personal Notes arrow_drop_up

Check out this Author's contributed articles.

If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.

Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.


Article Tags :

Be the First to upvote.


Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.