Jump to content

simultaneous downloads per ip


convinceme

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
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

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.