laziness, impatience, and hubris | |
PerlMonks |
Re: Temp file strategyby Tanktalus (Canon) |
on Sep 16, 2005 at 00:10 UTC ( [id://492473]=note: print w/replies, xml ) | Need Help?? |
Is it possible to not create the temp file until the user selects to download it, but to provide a link with all the CGI parms needed to generate the file? Then you can generate it directly to stdout (aka, the socket via apache). I don't think any of the temp file solutions written above will work across invocations of your CGI code since they will all remove the file as your script exits, too early for the user to click on a link to download.
In Section
Seekers of Perl Wisdom
|
|