Is there a way to achieve to following:
1) ASP page is loaded to client.
2) User submits form, requesting a file download
3) File is generated and written to response
4) User receives file, saves it and closes the dialogs.
5) ASP page redirects to another URL
I've tried many ways to accomplish this, both client and server side.
Client-side looks possible but with some complicated coding.
Server-side appears easier to manage, but my knowledge of ASP is limited - it looks impossible as the user cannot fully download the file until the repsonse ends, therefore the redirect cannot be transmitted; similarly sending the redirect first causes the file transmission to screw up client-side and the user is not prompted to save it.
Any ideas? I'm hoping that I'm missing something.