On Fri, 16 Jan 2009, Apu islam wrote: > 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
Caching should not be _relied_ upon for retrieving important data. Caching should be done for speed and load reduction. If you want to redirect after a POST, you have a couple options. 1. Store the data in a session. 2. Make a URI with all the data in it and redirect to that. This may just not work if there's too much data, so #1 may be better ;) 3. Don't redirect, but I really, really hate this option. I hate mixing POST handling and display code at one URI, and a POST is supposed to _do_ something anyway, not display a form (really it should return an error code or a 201 or something, but browsers suck ;) -dave /*============================================================ http://VegGuide.org http://blog.urth.org Your guide to all that's veg House Absolute(ly Pointless) ============================================================*/ ------------------------------------------------------------------------------ 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