|
|
| There's more than one way to do things | |
| PerlMonks |
Re: Temp file strategyby Tanktalus (Canon) |
| on Sep 15, 2005 at 20:10 UTC ( [id://492473]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
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
|
|
||||||||||||||||||||||||||||