Search code examples
coldfusioncoldbox

Can setNextEvent() persist variables to be restored in prc?


Can setNextEvent() persist variables to be restored in prc of the destination event?

Thanks.


Solution

  • No, the built-in persist and persistStruct functionality only applies to the request collection (rc). You could put in a ticket for this if you like: https://ortussolutions.atlassian.net/projects/COLDBOX

    In the mean time, you can easily accomplish this manually via Flash Ram: http://wiki.coldbox.org/wiki/EventHandlers.cfm#Flash_Variables