image\cslogo3d1.gif

ASP Request Object TotalBytes Property

The TotalBytes property contains the total number of bytes sent by the client in the body of the request. The property is read-only.

Syntax: ASP Request Object TotalBytes Property

Counter = Request.TotalBytes

Parameters: ASP Request Object TotalBytes Property

counter

A variable to hold the total number of bytes the client sent in the request.

Examples: ASP Request Object TotalBytes Property

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

<%

dim bytecount

bytecount = Request.TotalBytes

%>

Copyright 2001 Sun Microsystems, Inc. All rights reserved. Legal Notice.