I've got my file upload working fine
If I detect a duplicate file on the server I simply rename the file to 'file.001' or something & report to the user.
If the user immediately hits the Browser Refresh then the file gets sent again, & again etc.
How can I prevent this ??
If I detect a duplicate file on the server I simply rename the file to 'file.001' or something & report to the user.
If the user immediately hits the Browser Refresh then the file gets sent again, & again etc.
How can I prevent this ??