Last post Apr 17, 2007 05:44 PM by deepak.vasudevan
Apr 03, 2007 07:30 AM|adeelehsan|LINK
We have developed a subscription based web application using ASP.NET (C#) 1.1. Applicaiton is used to give user accounts to different customers to manage their files online. We want to measure the bandwidth used by each customer account using our application.
Is it possible at each customer account level? We are using SQL Server 2000 at the backend. The user account information is maintained in the db.
Apr 03, 2007 08:24 AM|Steve@Planet|LINK
You can do this with IIS.
You then use Log Parser 2.2 from MS to read the log files:
You can also use the ODBC logging module for IIS, which logs all this data to a DB. This DB can then be programatically read into any application. More info on this can be found here:
Is this what you were after, or do you want to bypass IIS altogether?
Apr 03, 2007 08:48 AM|adeelehsan|LINK
Thanks for your reply. Infact I want to calculate the bandwidth used by each customer during any upload file process. Each customer is assigned certain amount of bandwidth to be used during the whole month. I want to calculate this during the session of
a customer, not at the website level. Also our application is hosted by some hosting company so don't have IIS control. Just certain settings are there. That;s y i was looking to have a way out to calculate this programmatically.
Apr 03, 2007 01:43 PM|Steve@Planet|LINK
IIS also records the IP address, which you could save in your DB against a users login and then cross reference with the IIS logs to get their bandwidth details.
If you want to calculate the upload file size you could use:
But I am not sure if there is anything else you can do here.
Apr 03, 2007 04:35 PM|lizon|LINK
Apr 17, 2007 05:44 PM|deepak.vasudevan|LINK