On Wednesday 12 December 2007 23:44:40 Perrin Harkins wrote:
> On Dec 12, 2007 2:05 PM, Rolf Schaufelberger <[EMAIL PROTECTED]> wrote:
> > my $r = $self->{__apache_req__};
>
> Yikes, be careful of storing Apache2::RequestRec objects. Terrible
> things will happen if you try to access one from a previous request.
>
> > $r->pool->cleanup_register (\&cleanup, {name=> 'test', cnt=>10});
>
> Try $r->push_handlers(PerlCleanupHandler => \&cleanup);
>
> - Perrin
tried this, same result (redirect takes place after cleanup function has
finished).
--
Rolf Schaufelberger