SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    Join Date
    Apr 2005
    0 Post(s)
    0 Thread(s)

    Smile 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.

    help requested....

    thank you

  2. #2
    Original Gangster silver trophy Thing's Avatar
    Join Date
    Oct 2000
    Philadelphia, PA
    2 Post(s)
    0 Thread(s)
    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.

    It's not full proof, but it would help.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts