web 2.0

ASP Request.TotalBytes() - Request Object

ASP Request.TotalBytes() - Request Object Gets the number of bytes in the current input stream.

ShotDev Focus:
- Gets the number of bytes in the current input stream.

Syntax


Request.TotalBytes()

Example

asp_request_totalbytes1.asp


<html>
<head>
<title>ShotDev.Com Tutorial</title>
</head>
<body>
<form action="asp_request_form2.asp" method="post" name="form1">
Name
<input name="txtName" type="text">
Site
<input name="txtSite" type="text">
<input name="btnSubmit" type="submit" value="Submit">
</form>
</body>
</html>

asp_request_totalbytes2.asp


<html>
<head>
<title>ShotDev.Com Tutorial</title>
</head>
<body>
<form action="asp_request_form2.asp" method="post"  name="form1">
Name
<input name="txtName" type="text">
Site
<input name="txtSite" type="text">
<input name="btnSubmit" type="submit" value="Submit">
</form>
</body>
</html>

Create a asp file and save to path root-path/myasp/

Run
http://localhost/myasp/asp_request_totalbytes1.asp

Screenshot

ASP & Request.TotalBytes()

ASP & Request.TotalBytes()

.
.
.

Download this script.
Download

1 Star2 Stars3 Stars4 Stars5 Stars6 Stars7 Stars8 Stars9 Stars10 Stars (1 votes, average: 1.00 out of 10)
Loading ... Loading ...

Leave a Reply

You must be logged in to post a comment.