The second argument to redirect is the status code. You'll have to  
construct the URL with query strings yourself.

URL construction is one of those convenience things that ought to  
have been built into Mason, but is now provided by frameworks like  
Catalyst and Jifty.

On May 30, 2007, at 8:48 AM, Doug Dawson wrote:

> Hello!
>
> I'm trying to redirect to a page and send the existing args with  
> it, but
> when I try, the browser displays nothing. I didn't find anything in  
> the
> error log either.
>
> I looked at the documentation on $m->redirect(), but it only indicated
> that a URL can be passed in. I thought there was a way to redirect and
> pass the args, but I can't remember. I tried:
>
> $m->redirect($url,%ARGS)
>
> but, it didn't work.
>
> Thanks!
>
> -- 
> Doug Dawson
> Web Developer
> Physicians Mutual Insurance Company
> (402) 930-2432
>
> Men are from Mars. Women are from Venus. Computers are from Hell.
>
>
> ____________________________________________________________
> This message and any attachments are confidential, may contain  
> privileged
> information, and are intended solely for the recipient named above.
> If you are not the intended recipient, or a person responsible for
> delivery to the named recipient, you are notified that any review,
> distribution, dissemination or copying is prohibited.  If you have
> received this message in error, you should notify the sender by return
> email and delete the message from your computer system.
>
>
> ---------------------------------------------------------------------- 
> ---
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Mason-users mailing list
> Mason-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mason-users
>


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to