If you need to have variables shared between requests from the same person, the session scope is probably your best bet. If that's not appropriate for whatever reason, you're stuck doing some kind of copying operations. The latter's not necessarily a bad solution, just has certain drawbacks. At the very least, I'd look to package all the incoming variables into a "subscope" of request (request.params or something), so they're differentiated from "normal" request variables.
Bottom line, if it works, it can't really be "wrong". Might not be as "right" as other solutions, but perfection is an unattainable goal, particularly in software development. cheers, barneyb On 12/1/06, Brent Nicholas <[EMAIL PROTECTED]> wrote: > Barney - > > Thanks for your reply. I kind of felt I was doing something a bit 'off'. How > would you approach this situation where you need your vars to be avaliable in > your Application.cfc and template.cfm's and be able to pass them around page > to page? > I'm ashamed to say I've never done much scoping, but now that I'm on new > projects I have the time to step back and 'do it right'. > > Of course, I could be just brain dead today and need to have a think over the > weekend. :) > > I know you might be busy, so if you'd prefer to point me at something to read > that will give a clear answer, that would be appreciated as well. I did a bit > of Google'ing, but didn't find anything that was clear and to the point. > > Thanks, > > BN > > >You can do this: > > > >structAppend(request, url, "false"); > >structAppend(request, form, "false"); > > > >to move everything from URL and FORM into the request scope if you'd > >like. Of course, that devalues the request scope to a fair degree. > > > >cheers, > >barneyb > > > >On 12/1/06, Brent Nicholas <[EMAIL PROTECTED]> wrote: > >> > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:262464 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

