When I try to redirect to a new page after downloading a file it doesn't work. Do I have to remove or modify anything in this code? the debugger doesnt reach it
byte[] fileData = (byte[])sqlRead[3];
Response.Clear();
Response.AppendHeader("content-disposition", "attachment; filename=" + sqlRead[2]);
Response.ContentType = "application/octet-stream";
Response.BinaryWrite(fileData);
Response.Flush();
Response.End();
Response.Clear();
Response.Redirect("Questions.aspx");