Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
jwhitene #1
Random cfldap results
Using this script
<cfsetting requestTimeout = "7200">
<cfset FromDate = "2004-08-15">
<cfldap action="QUERY"
name="getActiveStudents"
attributes="uid,pdsLoginSuccess"
start="ou=People,o=pcc.edu,o=cp"
filter="pdsLoginSuccess>=#FromDate#"
server="myserver.com"
port="389"
timeout="7200"
username="user"
password="pass">
<cfset x=0>
<cfoutput query="getActiveStudents">
<cfset x=x+1>
<cffile action="APPEND"
file="d:\inetpub\wwwroot\JasTest\Audit\pdsLoginSuc cess_#FromDate#.txt"
output="#uid#, #pdsLoginSuccess#"
addnewline="Yes">
</cfoutput>
<cffile action="APPEND"
file="d:\inetpub\wwwroot\JasTest\Audit\pdsLoginSuc cess_#FromDate#.txt"
output="Total Login Successes since #FromDate# = #X#"
addnewline="Yes">
done
I get a different "Total Login" value every single time I run it. Of course,
it would make sense if the value were creeping upwards only, however, I get
lower values also.....
Anyone have any idea why?
jwhitene Guest
-
Display dataset results in a random order
I'm connecting to an MS Access database to retireve my data and wan to display my results in a random order. What i have is a table containing... -
random order results from MS access database
simple question but how could I go about order by search results randomly every time the page loads, or even better set it up so that each time the... -
#24420 [NoF->Opn]: getcwd() returns random results in a callback
ID: 24420 User updated by: S dot Bennett at lancaster dot ac dot uk Reported By: S dot Bennett at lancaster dot ac dot uk... -
#24420 [Fbk->NoF]: getcwd() returns random results in a callback
ID: 24420 Updated by: sniper@php.net Reported By: S dot Bennett at lancaster dot ac dot uk -Status: Feedback... -
#24420 [Com]: getcwd() returns random results in a callback
ID: 24420 Comment by: aredridel at nbtsc dot org Reported By: S dot Bennett at lancaster dot ac dot uk Status: ...



Reply With Quote

