Request.TotalBytes
TotalBytes属性指定了客户端在请求主体中发送的字节的总数。该属性是只读的。
句法
Counter= Request.TotalBytes
参数
- Counter
- 指定一个变量来检索客户端在请求中发送的字节的总数,
适用于
示例代码
下面的脚本设置了一个变量,等于包含在一个请求对象中的字节的总数。
VBScript<% Dim bytecount bytecount = Request.TotalBytes %>
必备条件
Client: Requires Windows XP Professional, Windows 2000 Professional, or Windows NT Workstation 4.0.
Server: Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server 4.0.
Product: IIS