you can always pass %ARGS to the component like john had suggested, but if you 
are looking for more lifetime for the data, you could look into $m->cache 
http://www.masonhq.com/docs/manual/Devel.html#data_caching 


 ------------------------------
Apu Islam
( E Pluribus Unum)



----- Original Message ----
From: Patrick Rutkowski <rutsk...@gmail.com>
To: Mason-users@lists.sourceforge.net
Sent: Friday, January 16, 2009 10:57:46 PM
Subject: [Mason] %ARGS->URL Encoding

I have a page (lets call it FOO) which takes some POST data and accesses 
it via %ARGS for processing.

If the processing fails, I would like FOO to be able to $m->redirect to 
page BAR for further processing, with the args intact.

Obviously $m->redirect("/BAR") won't do the trick, the %ARGS will be 
lost. I could take %ARGS and manually URL encode them 
($m->redirect("/BAR$encoded_args")), but that seems like a lot of work 
if there's already code out there to do that.

Does there exist such code?

-Patrick


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to