Print Page | Close Window

Counting outgoing files

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=3383
Printed Date: 29 March 2026 at 6:27pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Counting outgoing files
Posted By: pmormr
Subject: Counting outgoing files
Date Posted: 08 June 2003 at 10:11am
I'm designing something like geocities. The only problem is that i need to count the sizes of all the pages being requested for that particular site, and redirect if they have zero. Is the best possibility to make them request a page through an asp page like request_page.asp and then put the page requested in the querystring like request_page.asp?page=index.htm. Anyone have any ideas?

-------------
Paul A Morgan

http://www.pmorganphoto.com/" rel="nofollow - http://www.pmorganphoto.com/



Replies:
Posted By: Mart
Date Posted: 09 June 2003 at 9:20am

So I take it your monitering bandwidth? If so why not force an include on all asp files and a javascript on .htm and .html files that moniters it i.e.

Your clients content here

<!--#include file="script/bandwidth.asp"-->

or

Your clients content here

<Script language="javascript" src="scripts/htmlbandwidth.asp"></script>

Just force it on Upload and edit. Obviously that wouldnt help with images and flash etc. but I am sure there is a compenent lurking somewhere for monitering bandwidth in directorys using IIS.

Not sure if I helped hope i did, Martin.




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net