Re: WE GOT A PROBLEM
Brian McQueen <[email protected]> Fri, 25 Mar 2011 09:11:21 -0700
| Newsgroups | gmane.comp.apache.apreq |
|---|---|
| Message-ID | <[email protected]> |
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=C5=82aw Rejf <[email protected]>: > 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 th= e > 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. > --=20 Make a Small Loan, Make a Big Difference - Check out Kiva.org to Learn How!