The SitePoint Forums have moved.

You can now find them here.
This forum is now closed to new posts, but you can browse existing content.
You can find out more information about the move and how to open a new account (if necessary) here.
If you get stuck you can get support by emailing forums@sitepoint.com

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

how can i know whether client side downloading is over or not

hello friends,

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.