Jump to content


This topic is now archived and is closed to further replies.


simultaneous downloads per ip

Recommended Posts

i want to restrict simultaneous downloads per ip.. for that what i tried was

1) Check for ip in the database if it doesnt exist add it in the database...
2) Send headers to force download
3) if end of file remove the ip from the database

whats missing is when the user clicks on the cancel button when the popup window popups with the options of "OPEN" "SAVE" "CANCEL" (bcoz of force download using headers) the ip remains in the database for ever and doesnt get removed...so how to check if the user clicked on cancel
secondly if the user cancelled during the download process how to remove it now from the database

help in this regard would be highly appretiated... thanks in advance

Share this post

Link to post
Share on other sites


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.