in reply to Re: Apache::Registry and redirection
in thread Apache::Registry and redirection
sub redirect { my $new_url = shift; my $include_old_url = shift; my $redirect = q{http://} . const('host') . $new_url; $redirect .= q{?} if $redirect !~ /\?/; $redirect .= q{&redirect=} . escape(url()) if $include_old_url; my $request = Apache->request(); $request->internal_redirect($redirect); CGI::initialize_globals(); return; }
I am basically trying to do an entirely new request to the apache server without alerting the client.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Apache::Registry and redirection
by perrin (Chancellor) on Sep 29, 2006 at 23:50 UTC | |
by BarMeister (Beadle) on Sep 30, 2006 at 15:11 UTC |