Jon,
Yes, and no. Regular variables are copied, structures are copied as you
stated. So, you can use CFSET REQUEST.var=APPLCIATION.var as long as var
is a simple variable, but if APPLICATION.var is a structure you'll need to
do a deep copy.
--- Ben
-Original Message-
From: Jon Hall
PROTECTED]]
Sent: Monday, April 30, 2001 7:10 PM
To: CF-Talk
Subject: RE: More locking confusion...
Jon,
Yes, and no. Regular variables are copied, structures are copied as you
stated. So, you can use CFSET REQUEST.var=APPLCIATION.var as long as var
is a simple variable
** Macromedia Representative **
I think the author _implied_ that you should use duplicate() instead of
'cfset', but simply didn't say it. I haven't read the whole article, so I
could be wrong. Anyway, you are correct. If you want to use the Request
scope
use Duplicate(), and make sure you have the Duplicate() hotfix applied.
The hotfix download page says the problem exists in v4.51 SP2 but then goes
on to say This fix is only available to CF Server Enterprise customers.
Does this mean that the problem is only with the Enterprise version? Or
Email : [EMAIL PROTECTED]
ICQ UIN : 3679482
My ally is the Force, and a powerful ally it is. - Yoda
-Original Message-
From: Ken Wilson [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 01, 2001 9:16 AM
To: CF-Talk
Subject: Re: More locking confusion...
use Duplicate(), and make
The hotfix download page says the problem exists in v4.51 SP2
but then goes on to say This fix is only available to CF Server
Enterprise customers.
Does this mean that the problem is only with the Enterprise
version? Or are they only providing a fix for Enterprise customers
leaving
Was duplicate() not broken previous to sp2?
-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 01, 2001 10:15 AM
To: CF-Talk
Subject: RE: More locking confusion...
The hotfix download page says the problem exists in v4.51 SP2
but then goes on to say
If someone does find the link for the patch could you please post it here.
Mark
-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 01, 2001 7:15 AM
To: CF-Talk
Subject: RE: More locking confusion...
The hotfix download page says the problem exists
On 4/26/01, Jon Hall penned:
The author writes:
An easy answer to this problem is to dump the entire SESSION or APPLICATION
scope into the REQUEST scope. ColdFusion does not 'share' the REQUEST scope
between threads and it does not need to be locked. So by dumping all the
shared variables to this
9 matches
Mail list logo