>There IS a new thread scope, Damon talks about it in the readme that
>comes with the files (and on his blog?).  You reference it by the name
>of the scope, which you set in the name attribute of the cfthread tag.
>
>So in your example, instead of doing:
><cfset x = "Dan">
>You'd want to do:
><cfset Thread_1.x = "Dan">

The problem is when your threads are named dynamically, there's no way to
reliable get the thread name.

That's why I proposed that inside the <cfthread /> tags, you use a static
name. For example:

<cfthread name="thread_1">
        <cfset thread.x = "Dan" />
</cfthread>

<cfoutput>#thread_1.x#</cfoutput> = Dan

>However, as you probably saw from my post, I haven't been able to get
>the cfthread/cfjoin stuff to work in my environment, so I'm not sure how
>well any of this works.

Did you make sure to replace the taglib.cftld with the one in the zip file
(I'd back up the original first.)

Also, to get the cfthread.jar in the right place, I wonder if you can just
use the CFMX Administrator > System Information > Update File. That should
just copy the jar file to the required update folder.

-Dan


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/cf_lists/message.cfm/forumid:4/messageid:247343
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to