I setup a CFC for authentication against an LDAP.  In the cfm page it
is called I use <cfsetting requesttimeout.....>  works fine.

Doug


On Wed, 9 Feb 2005 11:02:46 -0600, Dawson, Michael <[EMAIL PROTECTED]> wrote:
> Have you tried not using the timeout attribute?
> 
> There are issues with CF not returning the correct results if you have a
> timeout specified and there are a large number (1000+) results being
> returned.
> 
> M!ke
> 
> -----Original Message-----
> From: Jon Gunnip [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, February 09, 2005 10:39 AM
> To: CF-Talk
> Subject: CFLDAP timeout ignored/ force timeout with Java?
> 
> I'm using CFLDAP against a Novell directory service.  Ocassionally, I am
> getting the thread hanging even though I have a timeout="60" set on my
> cfldap tag.  (This is MX and Macromedia docs say that timeout is
> actually in milliseconds not seconds
> http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_19579,
> but it doesn't seem to work regardless).
> 
> Is there a way that I can keep the thread from hanging?
> 
> I was thinking about creating a Java thread before the cfldap call and
> having it sleep 60 seconds and then throw an exception.  After the
> cfldap call, I would stop and kill the thread so that the exception
> would not be thrown if the cfldap call completed in time.
> 
> Is this possible?  Any pointers on how to accomplish this?
> 
> Thanks,
> Jon
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:193906
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to