ASP TotalBytes Attribute

Request Object Reference Manual

Definition and Usage

The TotalBytes property is a read-only property that can return the total number of bytes in the request body sent from the client.

Syntax

varbytes=Request.Totalbytes

Example

The following code sets a variable to the total number of bytes sent in the request body:

<%
dim a
a=Request.TotalBytes
%>

Request Object Reference Manual