I have a file manager that contains several files in which a user can check out and modify. My checkout process is as follows:
Step1 --> select file from list
step2 --> on new page right click and save as
Step3 --> after download is complete then click button on same
page to continue
Step4 --> on next page, display success and mark file properties
in databse as checked out
PROBLEM: I would like to force the user to download the file and when it finishes to automatically update the database. How do you do this? And what would happen if they cancel the download, they wouldn't have checked it out so how would you update the database?
Any help would be great.