Errrr - sorry, but you are wrong. Duplicate works fine on session and application scopes in CF 4.5.1 and CF5. There _was_ a bug with Duplicate in CF 4.5.1, but it was fixed in a hot fix. As it stands, in CF5, session and application scopes are structures. I'm pretty sure they were in 4.5.1 as well.
======================================================================= Raymond Camden, ColdFusion Jedi Master for Hire Email : [EMAIL PROTECTED] WWW : www.camdenfamily.com/morpheus Yahoo IM : morpheus "My ally is the Force, and a powerful ally it is." - Yoda > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:Douglas.Knudsen@;alltel.com] > Sent: Monday, November 11, 2002 12:43 PM > To: CF-Talk > Subject: RE: Locked Out > > > Tim, et al... > > I'd strongly suggest you not use Duplicate to move session or > application scoped vars to the request scope. Duplicate() works on > structures. In CF5 and 4.5, I think this changed in CFMX, the > application and session scopes are not really true structures so > Duplicate doesn't quite do all you need. IIRC correctly the big issue > was moving newly created vars back into the session or application > scope. There was a big discussion on this over on CFDJ-List about six > months back. What we pulled ou of it and use is > > in application.cfm: > <!--- Move Session to Request FOR READS ONLY!!!---> > <cflock timeout="30" throwontimeout="No" type="READONLY" > scope="SESSION"> > <cfset structappend(request,Duplicate(session))> > </cflock> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com

