RE: [PHP] flushing AJAX scripts

2009-03-28 Thread Andrea Giammarchi
constantly monitor the situation but we are in C# over SQLServer. I did something similar in PHP and Ajax and MySQL in the old company but trust me, it is not simple if you want to be consistent. Regards. > Date: Sat, 28 Mar 2009 00:45:27 -0400 > From: jbw2...@earthlink.net > To: an_.

Re: RE: [PHP] flushing AJAX scripts

2009-03-27 Thread jim white
neral@lists.php.net Date: Fri, 27 Mar 2009 15:55:28 +0100 Subject: RE: [PHP] flushing AJAX scripts Sorry, Kim, but why on earth you are polling with a second request to know when the first one has finished? I mean, when the first request inserts data in the database that's it, you'll manage

RE: [PHP] flushing AJAX scripts

2009-03-27 Thread Andrea Giammarchi
Sorry Jim, I meant Jim when I wrote Kim ... and Phico: http://webreflection.blogspot.com/2008/04/phomet-changes-name-so-welcome-phico.html Regards > From: an_...@hotmail.com > To: php-general@lists.php.net > Date: Fri, 27 Mar 2009 15:55:28 +0100 > Subject: RE: [PHP] flushing

RE: [PHP] flushing AJAX scripts

2009-03-27 Thread Andrea Giammarchi
hp-general@lists.php.net > Subject: Re: RE: [PHP] flushing AJAX scripts > > My page submits the AJAX request to complete a report that takes some > time, and upon completion stores results in a database. A second AJAX > request polls every 5 seconds and queries the database if the

Re: RE: [PHP] flushing AJAX scripts

2009-03-27 Thread jim white
jbw2...@earthlink.net CC: php-general@lists.php.net Subject: Re: [PHP] flushing AJAX scripts jim white wrote: I am using jQuery AJAX request to run a script that can take several minutes to create a report. I want to start the script and immediately echo a response to close the connection and the

RE: [PHP] flushing AJAX scripts

2009-03-27 Thread Andrea Giammarchi
php-general@lists.php.net > Subject: Re: [PHP] flushing AJAX scripts > > jim white wrote: > > I am using jQuery AJAX request to run a script that can take several > > minutes to create a report. I want to start the script and immediately > > echo a response to close

Re: [PHP] flushing AJAX scripts

2009-03-26 Thread Raymond Irving
, 3/26/09, jim white wrote: > From: jim white > Subject: [PHP] flushing AJAX scripts > To: php-general@lists.php.net > Date: Thursday, March 26, 2009, 4:01 PM > I am using jQuery AJAX request to run > a script that can take several minutes to create a report. I > want to start t

Re: [PHP] flushing AJAX scripts

2009-03-26 Thread Chris
jim white wrote: I am using jQuery AJAX request to run a script that can take several minutes to create a report. I want to start the script and immediately echo a response to close the connection and then let the script complete a report which I can get later. I have tried several thing such a

[PHP] flushing AJAX scripts

2009-03-26 Thread jim white
I am using jQuery AJAX request to run a script that can take several minutes to create a report. I want to start the script and immediately echo a response to close the connection and then let the script complete a report which I can get later. I have tried several thing such as ob_start(); ec