 		<cfset nrq=0>
 		<cfloop query="thisRequests">
 			<cfset thisTime=ISOToDateTime(ts)>
+			<!-----
+			<br>thisTime: #thisTime#::::#rqst#::::::#usrname#
+			---->
 			<cfset ttl=DateDiff("s", lastTime, thisTime)>
 			<cfif ttl lte timeBetweenQueries>
+				<!----
+				<br>triggered!
+				---->
 				<cfset nrq=nrq+1>
 			</cfif>
 			<cfset lastTime=thisTime>

<cfset timeBetweenQueries=3>
<cfset numberOfQueries=10>
<cfloop query="dip">
	<br>running for #ip#
	<cfquery name="thisRequests" dbtype="query">
		select * from x where ip='#ip#' order by ts

<cfquery name="x" dbtype="query">
	select * from x where rqst not like '%/includes/%'
</cfquery>
<cfquery name="x" dbtype="query">
	select * from x where usrname =''
</cfquery>
<cfquery name="dip" dbtype="query">
	select distinct(ip) from x
</cfquery>
