Request.TotalBytes

Request.TotalBytes

IIS 6.0

The TotalBytes property specifies the total number of bytes that the client sent in the body of the request. This property is read-only.

Counter

Specifies a variable to receive the total number of bytes that the client sends in the request.

The following script sets a variable equal to the total number of bytes included in a request object.

<% 
  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

Show:
© 2016 Microsoft