Re: progress reporting

2005-06-14 Thread Perrin Harkins
On Tue, 2005-06-14 at 15:44 -0400, Arshavir Grigorian wrote: > Thanks. I tried doing the following, but it didn't seem to help. I > wonder if it has to do with using Apache::DBI. It does. This is my least favorite thing about Apache::DBI -- it overrides disconnect. > $r->pnotes('dbh')->disconne

Re: progress reporting

2005-06-14 Thread David Dick
Looks suspiciously like you are forking with an open database connection. Perhaps you should try closing the database connection before the fork and opening it directly after the fork. However, this of course means that you need to sort out any pending commits/rollbacks. Uru -Dave Arshavir

Re: progress reporting

2005-06-14 Thread Arshavir Grigorian
David Dick wrote: Looks suspiciously like you are forking with an open database connection. Perhaps you should try closing the database connection before the fork and opening it directly after the fork. However, this of course means that you need to sort out any pending commits/rollbacks.

Re: progress reporting

2005-06-14 Thread Torsten Foertsch
On Tuesday 14 June 2005 21:21, Arshavir Grigorian wrote: > >>I have some code that takes a long time to execute. What I would like to > >>do is to display several real time status messages on the user's browser > >>as the work is being done (Started doing A ... Done, Started doing B ... > >>Done, e

Re: progress reporting

2005-06-14 Thread Arshavir Grigorian
Perrin Harkins wrote: On Monday 23 May 2005 3:21 pm, Arshavir Grigorian wrote: I have some code that takes a long time to execute. What I would like to do is to display several real time status messages on the user's browser as the work is being done (Started doing A ... Done, Started doing B .

Re: progress reporting

2005-05-23 Thread Philip M. Gollucci
Arshavir Grigorian wrote: Hi, I have some code that takes a long time to execute. What I would like to do is to display several real time status messages on the user's browser as the work is being done (Started doing A ... Done, Started doing B ... Done, etc). Then once the work is done, I w

Re: progress reporting

2005-05-23 Thread Perrin Harkins
On Monday 23 May 2005 3:21 pm, Arshavir Grigorian wrote: > I have some code that takes a long time to execute. What I would like to > do is to display several real time status messages on the user's browser > as the work is being done (Started doing A ... Done, Started doing B ... > Done, etc). The

RE: progress reporting

2005-05-23 Thread Joe Breeden
You may look at this module for inspiration: http://search.cpan.org/~isaac/Apache-UploadMeter-0.22/UploadMeter.pm -Original Message- From: Arshavir Grigorian [mailto:[EMAIL PROTECTED] Sent: Monday, May 23, 2005 2:21 PM To: modperl@perl.apache.org Subject: progress reporting Hi, I ha