in reply to browser timeout?

You could send an initial HTML page that tells the user that something is happening (this obviously is only sugar) but embed an automatic redirect in the header so that after, say 1.5 minutes another URL is loaded where the script has meanwhile parked the results.

Hope this helps, -gjb-