homepage Welcome to WebmasterWorld Guest from 50.17.86.12
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Microsoft / Microsoft IIS Web Server and ASP.NET
Forum Library, Charter, Moderators: ocean10000

Microsoft IIS Web Server and ASP.NET Forum

    
Charging by bandwidth used
how to implement
kris_winter

10+ Year Member



 
Msg#: 3289 posted 9:40 pm on Mar 7, 2006 (gmt 0)

Im considering offering a service that allows users to upload a file and then charges by the amount of bandwidth used by clients downloading. the only way i can think of implementing this is by examing the log files for the bytes transferred figures. Is there a better way?

 

carguy84

WebmasterWorld Senior Member 5+ Year Member



 
Msg#: 3289 posted 12:34 am on Mar 8, 2006 (gmt 0)

that may give inaccurate results as the log file will still show an image as being "requested" even if the user is pulling it from cache I believe.

kris_winter

10+ Year Member



 
Msg#: 3289 posted 6:21 pm on Mar 8, 2006 (gmt 0)

It will show it as requested by i wouldnt expect to see any bytes transferred for it. Ill need to check that out first though.

mrMister

WebmasterWorld Senior Member 5+ Year Member



 
Msg#: 3289 posted 9:56 am on Mar 13, 2006 (gmt 0)

Yes, you can add bytes received and bytes sent to the logs. If I remember correctly, it is accurate (eg, a partially retreived file will only show the actual bytes sent rather than the total file size.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Microsoft / Microsoft IIS Web Server and ASP.NET
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved