No such thing as a small change | |
PerlMonks |
Re: keeping connection alive while spending time building a zip fileby thenaz (Beadle) |
on Aug 10, 2011 at 21:39 UTC ( [id://919751]=note: print w/replies, xml ) | Need Help?? |
You could serve up an HTTP 302 that redirects the client to the real zip file once it's created. Since the contents of the 302 message are ignored, you can use your $r->print(" "); $r->flush(); method to keep the client waiting.
In Section
Seekers of Perl Wisdom
|
|