I'm using window.location.href in javascript to run a php script that queries the database, and creates a spreadsheet with the found data, and then outputs it using $objWriter->save('php://output');
This has been working well. The problem I am having is when the script takes longer to run than 10 minutes(a very complex database query), the output is never received. Watching the Task Manager/Performance on the server, it appears that the script finishes, but nothing is ever received in the form of a download. I have changed my fastcgi settings and set_time_limit, to a number much larger that 10 minutes, but doesn't seem to have any effect.
Interestingly, it works well with Chrome, but not with IE8 or IE9, or Safari.