how can i know whether client side downloading is over or not
I am now working in a project where my client registers inmy site. after registering and the confirmation of the demand draft i will be sending him a link to the download of the product. till now the work is OK. but if in any case my client is not able to complete the downloading and if he wants to resume it in a later time, it is not possible. bcas i am deleting his link immediately after request to download ( to avoid him fron forwarding the link to some one else). if i didnt delete his record some one else can also dwnload the same product from me.
so i need help to find out how to find whether my client has completed my download or not.
I'm not sure how to detect that, but there are a few things you might be able to do:
1. Place a client-side cookie on their machine, and check that cookie before allowing to download the file.
2. Allow the link to stay active for a period of 48 hours, but only if the initial cookie exists on the users machine.