Download Limit PHP/Java Problem
Moderator: General Moderators
-
grahamd711
- Forum Newbie
- Posts: 1
- Joined: Thu Jun 17, 2010 12:50 am
Download Limit PHP/Java Problem
I have been working on a music website that deals with downloading mp3 files. The problem that I have run into deals with the database not recognizing download limits. I have set download limits to 5 mp3's per day. When the user clicks on the download button the generic "do you want to download this file" box appears with the "ok" and "cancel" functions. If the user clicks "ok" the database will deduct one download from the 5 for the day. The problem is that when the user clicks cancel, the database is still recognizing it as a download and deducts a download for the day. How can this problem be fixed? Thanks for all the help!