ughhhh....errrr.....we already had this discussion, you even opened a
bug report thingy and I never got a t-shirt!  (Could have been the other
Ray though) The thread went on over on CFDJlist...  the problem, IIRC,
had to do with moving request scoped data back to the session scope.
Also, IIRC, arrays caused trouble too.  I can't find the bloody email
trail though...damn Outlook upgrade hosed some of my archives...I even
provided sample code to see it all in action...I'll have to build
another one.

Doug

>-----Original Message-----
>From: Raymond Camden [mailto:jedimaster@;macromedia.com]
>Sent: Monday, November 11, 2002 4:06 PM
>To: CF-Talk
>Subject: RE: Locked Out
>
>
>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
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Reply via email to