davidrobin Posted January 16, 2004 Posted January 16, 2004 I have a new project to build an asp site. This site will have files that can be downloaded. Can anyone help me on writing a download counter. Quote
davidrobin Posted February 1, 2006 Author Posted February 1, 2006 I have a new project to build an asp site. This site will have files that can be downloaded. Can anyone help me on writing a download counter. Is there anyone who has managed this yet as i still need to do this. Quote
Nate Bross Posted February 1, 2006 Posted February 1, 2006 Why not make a table in a database, with the several fields. One for the server path to the downloadable file, a unique ID, and a counter for the number of times downloaded. Then when you display the information make an href to the server file path and then add one to the counter. Or Make a download page where you pass it the unique ID and it generates the correct button to download, etc and adds to the download counter when it's been posted back to. Quote ~Nate� ___________________________________________ Please use the [vb]/[cs] tags on posted code. Please post solutions you find somewhere else. Follow me on Twitter here.
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.