jquery.fileDownload
jquery.fileDownload copied to clipboard
Remove cookie before starting the request , fixes issue #72
…e before the request is complete
hey so you are saying this doesn't work:
https://github.com/mdismer/jquery.fileDownload/blob/b7e297fed978a8fdc2428337b29e8c8490e813be/src/Scripts/jquery.fileDownload.js#L354
https://github.com/mdismer/jquery.fileDownload/blob/b7e297fed978a8fdc2428337b29e8c8490e813be/src/Scripts/jquery.fileDownload.js#L354 Does work, but only after success. Sometimes you can end up with a stale cookie left over from a previous request (file downloaded from a different link without javascript on it, for example). In this case, onSuccess will fire immediately.