rdove
11-10-2004, 12:57 PM
I am trying to take a large amount of data in a hidden form field and post it back to the server.
The problem I am having is when the size of the data reaches a certian size (usually > 1MB) I get a file cannot be downloaded error (See Attachment). I have researched this and cannot find anything that states limitations on postbacks.
Any Suggestions, my code is below
Response.Buffer = True
Response.Clear()
Response.ContentType = "application/vnd.ms-excel"
Response.AddHeader "Content-Disposition", "attachment;filename=ReportData.csv"
Response.Write(Request.Form("CSVData"))
Response.End
The problem I am having is when the size of the data reaches a certian size (usually > 1MB) I get a file cannot be downloaded error (See Attachment). I have researched this and cannot find anything that states limitations on postbacks.
Any Suggestions, my code is below
Response.Buffer = True
Response.Clear()
Response.ContentType = "application/vnd.ms-excel"
Response.AddHeader "Content-Disposition", "attachment;filename=ReportData.csv"
Response.Write(Request.Form("CSVData"))
Response.End