[rt-users] RT: session flush and $m->redirect

Ruslan Zakirov ruz at bestpractical.com
Thu Dec 13 13:45:43 EST 2012


On Thu, Dec 13, 2012 at 10:04 PM, Len Jaffe <lenjaffe at jaffesystems.com> wrote:
>
> Given:
> $session{errormessge} = 'You blew it!";
> $m->redirect($homePage);
>
> When my code performs  a redirect, the error message is not being saved for
> use in the on the next page.
>
> Is there a magic flush() method that I need to call prior to calling
> redirect?


You need MaybeRedirectForResults.


>
> Thanks,
> Len.
> --
> lenjaffe at jaffesystems.com   614-404-4214   www.lenjaffe.com
> Proprietor: http://www.theycomewithcheese.com/ - An Homage to Fromage
> Perl Advent Planet - Advent Calendars: Perlish and otherwise.
> Greenbar: Grubmaster: 2012-2009, Grub Asst: 2008, Trained: 2007.
>
>
>
> --------
> We're hiring! http://bestpractical.com/jobs
>



-- 
Best regards, Ruslan.



More information about the rt-users mailing list