Hi,
I am running into trouble with my
browser clients timing out while waiting
for large PDF reports to be generated
at the server and returned.
Background:
I am building an application where the backend is an Apache Linux server with
PHP and MySQL and the front end is a
PC Win2k/Xp web browser client (IE).
It is a classic transaction-based
application and users are performing
data-entry, queries, and requesting
reports to be generated for online
browsing and printing.
Reports are generated by the server in
PDF format and sent to the client.
The problem is that several reports are very large and take a while to be generated in PDF. As a result, the
browser times out waiting for the report.
I was thinking of a solution where the server would receive a request to generate the report and would "immediately" return to the client with a link to a page which would either show the report upon completion or in the meantime show something like a
"Report In Progress" message.
How can I implement such a solution?
Can I run the PDF report generation in PDP "in the background" and return to the server right away while letting the PHP script continue to generate the report?
Is there a better, and standard, way
of handling such cases?
Thank You,
Axm26.