I've seen that behaviour when the query times out.  It just returns
whatever it's collected in within the timeout period and gives up.
Only solution I found was to crank up the timeout value until that
didn't happen anymore and hope for the best.

cheers,
barneyb

On Thu, Oct 9, 2008 at 4:13 PM, Dan LeGate <[EMAIL PROTECTED]> wrote:
> I have a CFLDAP query that seems to be giving me a different number of
> results every time I search for the same text with the same filter,
> attributes, etc.
>
> Has anyone seen this behavior?  Here's the code:
>
>        <cfldap action="QUERY"
>              name="GetResults"
>              attributes="#OfficialAttribs#"
>              filter="(#searchfield#=#ThisSearch#)"
>              start="dc=ourdomain,dc=edu"
>              scope="SUBTREE"
>              TIMEOUT="500"
>              port="#port#"
>              server="#LDAPServer#"
>              username="uid=#LookupID#,ou=People,dc=ourdomain,dc=edu"
>              password="#LookupPass#">
>
> This is a Sun LDAP server (v5.2).
>
> When I run queries with the command line tools I get the same results
> every time.  I get 433 results every time w/the built-in and
> command-line tools.  But with CFLDAP I get 100 on one attempt, then 92,
> on the next, and so on.
>
> REALLY strange.  I have verified that the values of the variables above
> are identical between requests.
>
> Anyone seen this?
>
> Dan
>


-- 
Barney Boisvert
[EMAIL PROTECTED]
http://www.barneyb.com/

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313695
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to