On 2/7/07, Stephan Jennewein <suppressed> wrote:
local $SIG{__DIE__} = \&cleanup;
Make that a PerlCleanupHandler.
And if something goes wrong with the upload a $cgi->redirect should send the user to another page can I use this with mod_perl and the exit() after the redirect doesn't work.
You were using exit like a return, to avoid running the rest of the script? You can use ModPerl::Util::exit (which will log an error), or return Apache2::Const::OK, or just stop printing. - Perrin
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.