in reply to Re^2: Apache::Registry and redirection
in thread Apache::Registry and redirection

It doesn't work because it doesn't come back here until your redirect is over, so it doesn't run that code. You have to run the initialize_globals call in your subrequest that you redirected to. You can try calling it just before the internal_redirect, but I'm not sure that will work.

Replies are listed 'Best First'.
Re^4: Apache::Registry and redirection
by BarMeister (Beadle) on Sep 30, 2006 at 15:11 UTC
    Ok I figured it out... the trick is to update $r->args before calling CGI::initialize_globals and then do the internal_redirect after all that is done.

    Thanks for the help :-)