I have code that prompts the user to download a file (a word document). I am using asp.net 1.1 C#
My problem is, that after the user downloads the file, the request ends. Nothing else will execute on the page. For example:
Response.AddHeader("Content-Disposition", "attachment; filename=" + strOriginalFileName + "." + strFileToUploadExtension);
Response.ContentType = "application/octet-stream";
will not execute after the user downloads teh file.
Does anyone know how to fix this?