Skip to content

Remove cookie before starting the request , fixes issue #72#121

Open
mdismer wants to merge 1 commit intojohnculviner:masterfrom
mdismer:master
Open

Remove cookie before starting the request , fixes issue #72#121
mdismer wants to merge 1 commit intojohnculviner:masterfrom
mdismer:master

Conversation

@mdismer
Copy link
Copy Markdown

@mdismer mdismer commented May 20, 2016

…e before the request is complete

@johnculviner
Copy link
Copy Markdown
Owner

@jessnorwood
Copy link
Copy Markdown

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants