Our Forums are now closed. Please go to our Google Mailing List for help. This site will remain open for historical purposes.
ColdBox Framework Forums Home | Profile | Search | Login | RSS

 pdf Print PDF   Previous Page  Page: 1   Next Page

Thread: setNextRoute
Created on: 05/27/10 07:05 AM Replies: 2
malpaso
Trying not to be a rookie

Joined: 12/11/08
Posts: 17
setNextRoute
05/27/10 7:05 AM

I'm trying to use setNextRoute with the 'persist' attribute and the routing works but my persisted variables (structure and a query) are not visible.

<cfset rc.struct = structNew()>
<cfset rc.qry = queryNew("")>
<cfset setNextRoute(route:"route",persist:"struct,qry",ssl:"true")>

Any ideas what I'm doing wrong?
Link | Top | Bottom
malpaso
Trying not to be a rookie

Joined: 12/11/08
Posts: 17
RE: setNextRoute
05/27/10 7:10 AM

I think I just realized what I was doing wrong. Sorry to bother :)
Link | Top | Bottom
malpaso
Trying not to be a rookie

Joined: 12/11/08
Posts: 17
RE: setNextRoute
05/27/10 8:59 PM

Still can't get this to work with setNextRoute().

Has anybody got a viable working example of setNextRoute using the persist argument?
Link | Top | Bottom

Galleon Forums V1.7.008 was created by Raymond Camden