Have a status bit and set it in-progress.  Don't set it to complete
until you are sure its done and correct.  Don't remove the info.  You
want it for debugging and a complete history anyway.

2011/3/25 Przemysław Rejf <prze...@rejf.org>:
> Hi, How to detect file upload abort using an upload hook in perl. When
> client aborts the upload i need to remove the info about the file from the
> db. I can't do it size base, because before upload ends i only have an
> approximate file size (request + file). I'm tryin to use mod_perl
> Apache2::Connection->aborted() but so far to no effect.
>



-- 
Make a Small Loan, Make a Big Difference - Check out Kiva.org to Learn How!

Reply via email to