Andy, the problem isn't with duplicating sessions, per se, and it's not a .NET 
issue. There is a bug (fixed in the upcoming 6.2.1 release) in both Java and 
.NET editions, and it only appeared if you were using a CFLOCK around the code 
attempting to duplicate the session.

Now, someone may say "but shouldn't you ALWAYS lock access to session 
variables?", and the answer is no, as discussed in a technote from mm at 
http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_18235. While 
that was written for CFMX, it applies to BD as well. You still want to lock, 
but only for race conditions.

Anyway, as of 6.2.1 (due out in beta soon), you can continue to lock and 
duplicate to your heart's content. :-)

Finally, let me plead that you please bring up such issues on the BlueDragon 
Interest list. We don't always get to monitor all the traffic on CF-talk, but 
our engineers always watch and respond to issues brought up on our list. Not 
meaning to prevent discussion here, just saying that if you have an urgent need 
for support, you're MUCH better asking there, and of course, it's free.

/charlie

>OK, I think I have figured this out by using 'StructCopy' instead of
>'Duplicate'. Do we have any Bluedragon guru's on this forum who could help
>me out with a number of issues that I have with trying to migrate to
>Bluedragon?
>
>-----Original Message-----
>From: Andy Mcshane [mailto:[EMAIL PROTECTED] 
>Sent: 31 October 2005 17:38
>To: CF-Talk
>Subject: Re: Blue Dragon and Fusebox
>
>Did you ever get a solution to this? I too am having the same problem with a
>fusebox 4.1 app running on Bluedragon 6.2 .NET that is choking when trying
>to execute the following code
>
><cfset request.session = duplicate(session)> 
>
>It just seems to be a problem with the 'duplicate' function?

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:222802
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to