email: enquiries@crfprinting.co.uk
tel: +44 (0)1252 260610
or click to email

Component (cfc.CFC_userTrack) userTrack
Only the functions and data members that are accessible from your location are displayed
HintUser tracking functions 24/05/2011
this
public
dataIn
Struct
Entries: 18
bot
stringn
BOTCHECK
stringn
BROWSER
stringPingdom.com_bot_version_1.4_(http://www.pingdom.com/)
campaignCode
stringxxxxxxxx
CFID
string48090774-5adc-4a61-a255-e66e046d4815
INTERNAL
booleanfalse
IP
string23.111.152.74
LANGUAGE
stringunknown
LOCATION
Struct
Entries: 12
cityName
stringTampa
countryCode
stringUS
countryName
stringUnited States
ipAddress
string23.111.152.74
latitude
string28.0074
longitude
string-82.5154
regionName
stringFlorida
statusCode
stringOK
statusMessage
string
TABLEID
number19969
timeZone
string-05:00
zipCode
string33614
PAGESTATS
booleanfalse
PAGETICK
string0.0010
PERMISSIONS
number0
REFERER
string
STAFF
booleanfalse
STAFFID
number0
trackingQRCode
stringxxxxxxxx
URL
stringcrfprinting.co.uk/index.cfm
USERID
number0
INITALISEDDATE
Date Time (Etc/Greenwich)
{ts '2017-12-01 01:00:41'}
INIT
Public Function init
source:/home/cisfarnh/public_html/crfprinting.co.uk/resources/cfc/CFC_userTrack.cfc
arguments
labelnamerequiredtypedefaulthint
return typeany
IPADDRESSLOOKUP
Public Function ipAddressLookUp
source:/home/cisfarnh/public_html/crfprinting.co.uk/resources/cfc/CFC_userTrack.cfc
Look-up IP address and return results
arguments
labelnamerequiredtypedefaulthint
ipAddresstruestringnullIP address to investigate
return typestruct
INSERTDB
Public Function insertDB
source:/home/cisfarnh/public_html/crfprinting.co.uk/resources/cfc/CFC_userTrack.cfc
Save user tracking data
arguments
labelnamerequiredtypedefaulthint
return typestruct
GETALLUSERSNONBOT
Public Function getAllUsersNonBot
source:/home/cisfarnh/public_html/crfprinting.co.uk/resources/cfc/CFC_userTrack.cfc
Retrieve all records from 'userTracker' flagged as not a Bot
arguments
labelnamerequiredtypedefaulthint
return typequery
TEST
Public Function test
source:/home/cisfarnh/public_html/crfprinting.co.uk/resources/cfc/CFC_userTrack.cfc
arguments
labelnamerequiredtypedefaulthint
return typeany
IPADDRESSLOOKUP2
Public Function ipAddressLookUp2
source:/home/cisfarnh/public_html/crfprinting.co.uk/resources/cfc/CFC_userTrack.cfc
Look-up IP address and return results
arguments
labelnamerequiredtypedefaulthint
ipAddresstruestringnullIP address to investigate
return typestruct
CHECKBOT
Public Function checkBot
source:/home/cisfarnh/public_html/crfprinting.co.uk/resources/cfc/CFC_userTrack.cfc
Check if user is a known Bot
arguments
labelnamerequiredtypedefaulthint
agentReffalsestringBrowser details from CGI
agentIPfalsestringBrowser details from CGI
return typestring
MYFUNCTION
Public Function myFunction
source:/home/cisfarnh/public_html/crfprinting.co.uk/resources/cfc/CFC_userTrack.cfc
arguments
labelnamerequiredtypedefaulthint
myArgumenttruestringnull
return typestring
dataOut
Struct
RECORDID
string2303774
private
INSERTBOTTRACKER
Private Function insertBotTracker
source:/home/cisfarnh/public_html/crfprinting.co.uk/resources/cfc/CFC_userTrack.cfc
Save bot blacklist data
arguments
labelnamerequiredtypedefaulthint
userAgenttruestringnulluserAgent details
botTypetruestringnullSingle letter referrence to bot type, b=bot, c=crawler, v=validator, l=library, p=cloud platform
return typestruct
UPDATEBOTMATCH
Private Function updateBotMatch
source:/home/cisfarnh/public_html/crfprinting.co.uk/resources/cfc/CFC_userTrack.cfc
Update 'userTracker' with Bot results
arguments
labelnamerequiredtypedefaulthint
recordIDtruestringnullUserTracker recordID
recordDatatruestringnullBot match result
return typestring
UPDATEBOTMATCHGROUP
Private Function updateBotMatchGroup
source:/home/cisfarnh/public_html/crfprinting.co.uk/resources/cfc/CFC_userTrack.cfc
Update 'userTracker' with Bot results
arguments
labelnamerequiredtypedefaulthint
userAgenttruestringnulluserTracker userAgent details
recordDatatruestringnullBot match result
return typestring
GETALLBOT
Private Function getAllBot
source:/home/cisfarnh/public_html/crfprinting.co.uk/resources/cfc/CFC_userTrack.cfc
Retrieve all records from botTracker
arguments
labelnamerequiredtypedefaulthint
return typequery
GETALL
Private Function getAll
source:/home/cisfarnh/public_html/crfprinting.co.uk/resources/cfc/CFC_userTrack.cfc
Retrieve all records from userTracker
arguments
labelnamerequiredtypedefaulthint
return typequery
INSERTIPTRACKER
Private Function insertIPTracker
source:/home/cisfarnh/public_html/crfprinting.co.uk/resources/cfc/CFC_userTrack.cfc
Save IP blacklist data
arguments
labelnamerequiredtypedefaulthint
ipLookuptruestructnullip look up details
return typestruct
GETALLUSERIP
Private Function getAllUserIP
source:/home/cisfarnh/public_html/crfprinting.co.uk/resources/cfc/CFC_userTrack.cfc
Retrieve all records from 'userTracker' grouped by IP & COUNT
arguments
labelnamerequiredtypedefaulthint
return typequery
INSERTIPTRACKER2
Private Function insertIPTracker2
source:/home/cisfarnh/public_html/crfprinting.co.uk/resources/cfc/CFC_userTrack.cfc
Save IP blacklist data
arguments
labelnamerequiredtypedefaulthint
ipLookuptruestructnullip look up details
return typestruct
INSERTTABLEERRORS
Private Function insertTableErrors
source:/home/cisfarnh/public_html/crfprinting.co.uk/resources/cfc/CFC_userTrack.cfc
Save any table errors for bug fixing
arguments
labelnamerequiredtypedefaulthint
cfcatchContentstruestructnullcfcatch contents
return typestruct