I have a form that has an upload field. The file can be big and i would like to add a cancel button to cancel the upload.
If i add a cancel button to the form that for example redirects to 'index' the cancel is stopped but what is the logic behind it. Is some value returned and the form fails?? I am asking this cause i am uploading a file from an iphone app to the database but when i cancel that request, there is an entry in the databade which is a part of the file. Any thoughts?

