http://greatbiztoolsllc.trac.cvsdude.com/mach-ii/wiki/RedirectPersistPageReloadError
Redirect persist is a like Spring "flash" scope. It solves the problem of doing post-redirect-get (PRG) routines. That's the background on that in the FAQ above. Handling what you want to accomplish depends. If what you are trying to do is part of a multi-step process, pulling from the session is easiest. If you have saved it to the DB, just pull back from the DB. Best, .Peter Doug said the following on 12/02/2009 03:28 PM: > Hello Mach-II Team, > > We have an event that receives a form post, processes data, and goes > to a results page. We're using <redirect event="results" > persist="true" /> (Mach-II 1.8 RC1), and the redirect works as it > should. However, if the user refreshes the results page, the objects > we've stored in the event args are not retrieved again, causing the > results page to fail. > > I can see that the persisted objects are still in the session, but > they are not retrieved in the normal handleRequest() process when > RequestRedirectPersist.read() is called. It appears that the persisted > args are stored in a cache and then removed on the first redirect. > > So, what is the recommended way to handle the case where you want to > redirect to a results page, allowing the user refresh the page and > still see the results that are dependent on persisted args? > > Thanks, > > Doug > http://www.daveramsey.com > > -- You received this message because you are subscribed to Mach-II for CFML list. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/mach-ii-for-coldfusion?hl=en SVN: http://greatbiztoolsllc.svn.cvsdude.com/mach-ii/ Wiki / Documentation / Tickets: http://greatbiztoolsllc.trac.cvsdude.com/mach-ii/
