in reply to (OT) Handling long-running queries with mod_perl/Mason
When you receive the request for the related URL from the client, check to see if the report has finished; if you can't show it to them yet, return a page that says "still working on it, click here to receive the results in email instead" which goes to a third URL to register the email request in some kind of a queue.
|
|---|