GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Jifty::Action::Redirect(3) User Contributed Perl Documentation Jifty::Action::Redirect(3)

Jifty::Action::Redirect - Redirect the browser

  Jifty->web->new_action(
      class => 'Redirect',
      arguments => {
          url => '/my/other/page',
      },
  )->run;

Given a URL, this action forces Jifty to perform a redirect to that URL after processing the rest of the request.

By default, redirect actions happen as late as possible in the run order. Defaults the "order" in Jifty::Action to be 100 so it runs later than most actions.

The only argument to redirect is the "url" to redirect to.

If the other actions in the request have been a success so far, redirects to the provided "url". The redirect preserves all of the Jifty::Results for this action, in case the destination page wishes to inspect them.

Jifty::Action, "next_page" in Jifty::Web, "force_redirect" in Jity::Web

Jifty is Copyright 2005-2010 Best Practical Solutions, LLC. Jifty is distributed under the same terms as Perl itself.
2015-04-29 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.