DK
Member since Sep 16, 2011
- Profile: /members/8980-dk.htm
- URL: http://about.me/d.k
- Comments: 4
Recent Blog Comments By DK
-
Writing Enormous Files Based On Massive Record Sets In ColdFusion
Posted on Sep 16, 2011 at 5:04 PM
OK, next attempt at a solution is putting <cfflush> after the headers. This time Open file works. However, that change introduced 2 problem with report file name: File name suddenly started to contain underscores rather than spaces. Open file generates the file which... read more »
-
Writing Enormous Files Based On Massive Record Sets In ColdFusion
Posted on Sep 16, 2011 at 4:35 PM
<cfflush interval="512" /> at the top of the page solved my problem and provided nice download progress feedback for users. However it has one nasty side effect. When IE prompts and I select to save .csv, everything works great. When IE prompts and I select to Open with E... read more »
-
Writing Enormous Files Based On Massive Record Sets In ColdFusion
Posted on Sep 16, 2011 at 4:09 PM
Adding to my previous comment, should I just <cfflush> my CSV output and all will be good, at least on the output side? The DB side is a separate issue.... read more »
-
Writing Enormous Files Based On Massive Record Sets In ColdFusion
Posted on Sep 16, 2011 at 3:32 PM
So, how would this approach need to change if I need to *return* a CSV file to a user? That is, no external file is currently written. It goes like this: application.Util.prepareForCSVDownload("My Report.csv"); report = new components.FooDomain.Report(foo, bar); report.export(); ... read more »