[Coldbox 3.6] Persist setNexEvent

Hi there guys,

Question:
I have a setNextEvent with some variables inside persist argument, all was working just fine. But I never took notice when this stop working, Im loosing my variables inside the persist argument. I backup all my code every night during development, I was checking but that code in particular it seems to be the same in my oldest version of the site.

I try switching to flash.put / flash.get and all works fine. Any reason, or idea why persist inside setNextEvent stop working?

CODE:

<cfset setNextEvent(event=‘en/country/destination/category/tour?rc.tourid=requestedtourid’,persist=‘contact,validationresult,tourid,destination,country’) />

All variables inside persist are lost in my redirect.

Thanks in advance

Xerrano

How many redirects are happening? It is possible that something like the SSL interceptor is adding an additional redirect into the mix? Flash RAM only lasts one request by default before being cleared. a When you manually put and get I believe it stays there until cleared.

Also, do you have more than one server in a load balanced environment that might allow the user to be hitting a different web server on redirect? I assume you are using the default Flash RAM storage location of session-- is that true?

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com