If you remove the logic (CFTRY/CFLOCK)
.. everything goes back to normal?

Adam Wayne Lehman
Web Systems Developer
Johns Hopkins Bloomberg School of Public Health
Distance Education Division


-----Original Message-----
From: Sloan, Richard [mailto:RSloan@;follett.com] 
Sent: Monday, October 21, 2002 1:56 PM
To: CF-Talk
Subject: CFX_SPELL Question/Problem

Hi All,

We are having a problem I hope the list can help with.

In a Nutshell, We purchased Forta's CFX_Spell tag and wrote a UI for it.
Tested it with no problem. Then we moved it to our Production machine
which
is running CF 4.01 on Windows NT 4. (Before you say upgrade to CF5 or
MX,
Let me just state that this box houses a business critical app that runs
fine under cf4.01 and we have not wanted to upgrade just yet.)

When we moved it to Production and the user's started hitting the dll,
the
tag stopped working. After doing some better research I learned the CFX
tag
was not multi-thread safe and it was suggested to add <cflock> around
the
tag to force it to be single threaded. Did that and added
<cftry><cfcatch>
logic around the cfx tag. I have included the logic below. Anyway, The
additional logic caused something strange to happen. The Server Seemed
to
loose all session/Application variables and Would not allow access to
any
CFM pages only .html pages. We immediately shut off access to the dll
and
all code touching it. I sent numerous emails to forta, but have not
gotten a
response. Has anyone else experienced these problems? any resolutions/
suggestions on how to get this to work?

Any help would be greatly appreciated.

Here is the code used:

<cftry>
   <cflock name="spellock" timeout="20" throwontimeout="Yes">
       <CFX_SPELL TEXT="#Form.CommentBox#" name="spell"
LANGUAGE="#language#">
   </cflock>
  <cfcatch type="ALL">
    <cflocation url="Update_review.cfm" addtoken="NO">
  </cfcatch>
</cftry> 

~Rich
::::::::::::::::::::::::::::::::
Rich Sloan
Coldfusion Web Developer
Follett Corporation-CTG
2233 West St. -River Grove, IL 60171
<P> 708.437.2360 <E> [EMAIL PROTECTED]
www.follett.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
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