Re: [PHP-DB] Long running db queries and the STOP button

2005-11-01 Thread Jochem Maas
[EMAIL PROTECTED] wrote: Hi Jochem, if you are using apache then virtual() might offer a solution? (just guessing) Cool, I didn't know of that one. But it seems that is just calls back into apache, i.e. it doesn't generate a second independent thread. This would have been too good to be

RE: [PHP-DB] Long running db queries and the STOP button

2005-10-28 Thread Thomas.Seiler
Hi Jochem, Thanks for replying I just had the idea (never tried it myself) that you could possibly fork the request process and let the child process perform the query It makes perfectly sense to us, but it seems it is only possible to fork (pcntl_fork) with php running as CGI :( From

Re: [PHP-DB] Long running db queries and the STOP button

2005-10-28 Thread Jochem Maas
[EMAIL PROTECTED] wrote: Hi Jochem, Thanks for replying I just had the idea (never tried it myself) that you could possibly fork the request process and let the child process perform the query It makes perfectly sense to us, but it seems it is only possible to fork (pcntl_fork) with php

RE: [PHP-DB] Long running db queries and the STOP button

2005-10-28 Thread Thomas.Seiler
Hi Jochem, if you are using apache then virtual() might offer a solution? (just guessing) Cool, I didn't know of that one. But it seems that is just calls back into apache, i.e. it doesn't generate a second independent thread. This would have been too good to be true :) We have since found a

RE: [PHP-DB] Long running db queries and the STOP button

2005-10-27 Thread Bastien Koert
Few things I can think of: 1. warn the user that the query may take some time and then show a splash type screen that indicates that something is happening 2. Run the whole thing in a new window without the toolbar 3. rework the query so it doesn't take so much time. If there are a lot of

Re: [PHP-DB] Long running db queries and the STOP button

2005-10-27 Thread Jochem Maas
Bastien Koert wrote: Few things I can think of: 1. warn the user that the query may take some time and then show a splash type screen that indicates that something is happening 2. Run the whole thing in a new window without the toolbar 3. rework the query so it doesn't take so much time. If