> As you know, <cfset session.object = request.object /> only > creates a pointer to original, and duplicate() doesn't work on CFCs > (we're using CFMX 7). Anyone have a workaround or best-practice solution > for this type of thing?
No workaround is needed. You don't need anything more than a reference to the object. When request.object (which is itself just a reference) goes out of scope, session.object will be the only remaining reference to that object. Now, if your goal is to prevent changes in request.object from affecting session.object, that's something else entirely. In that case, though, I don't see why you'd need both references. Dave Watts, CTO, Fig Leaf Software ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:292251 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

