Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: keeping connection alive while spending time building a zip file

by thenaz (Beadle)
on Aug 10, 2011 at 21:39 UTC ( [id://919751]=note: print w/replies, xml ) Need Help??


in reply to keeping connection alive while spending time building a zip file

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.

  • Comment on Re: keeping connection alive while spending time building a zip file
  • Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://919751]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2024-04-19 03:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found