Jump to content


Photo

simultaneous downloads per ip


  • Please log in to reply
No replies to this topic

#1 convinceme

convinceme
  • Members
  • PipPip
  • Member
  • 16 posts

Posted 14 April 2006 - 09:59 PM

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





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users