Title: RE: Events, Interceptors, setNextRoute() and persist...
Thread: Events, Interceptors, setNextRoute() and persist...
Forum: Bugs (ColdBox)
Conference: ColdBox
User: sanaullah73 Hi,
You can persist variables
1: if variables are already in
RequestCollection then simply
[code]
<cfset
setNextRoute(route="account/login", persist="nextID,firstname,lastname") />
[/code]
2: if variables are not in RequestCollection then
[code]
<cfset
Event.setValue("nextID",nextID)>
<cfset Event.setValue("firstname",firstname)>
<cfset Event.setValue("lastname",lastname)>
<cfset
setNextRoute(route="account/login", persist="nextID,firstname,lastname") />
[/code]
try this...now
http://www.luismajano.com/forums/index.cfm?event=ehMessages.dspMessages&threadid=AEAE8207-FF65-CEF6-6584013A0D153959