ASP TotalBytes 属性

Request Object Reference Manual

定义和用法

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