I have a php script which inserts large number of rows into mysql database. To prevent timeout, I run the script in several parts and call it with jQuery ajax like this from