On click of a link, I want to do this.
1. First show a page to user that his download is being prepared
2. Once server has prepared the content, push file to browser so that it displays the open/save dialog box (attachment disposition is ok)
3. Refresh the page with new page saying the process finished, irrespective whether user saves/cancels the download.
All this should happen at one click
How to achieve this?
1. First show a page to user that his download is being prepared
2. Once server has prepared the content, push file to browser so that it displays the open/save dialog box (attachment disposition is ok)
3. Refresh the page with new page saying the process finished, irrespective whether user saves/cancels the download.
All this should happen at one click
How to achieve this?
