'Web application - HttpResponseBase.AddHeader
I have a web application that uses HttpResponseBase.AddHeader.
I'm using this method to download a .csv file:
.AddHeader("content-disposition", "attachment; filename=" + fileName64)
The problem is that this method stops my code flow. All code after this call is not running.
I need to be able to download this file and show the client a success message, I can't because this request stops everything.
Any suggestions please?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
