Home | Projects | Downloads | Contact Me | SQL Injection Attacks

WhosOnCFC version 2.0.0 now with stat tracking goodness

WhosOnCFC version 2.0.0 is now available on RIAForge for download.  Version 2 adds stat tracking which is enabled by default and has a simple page to display the stats over the last 24 hours or since the last  reset of the component.  As an example, you can check the stats page from my blog which will show you the information that is displayed by default.  If you have added custom fields to your implementation, WhosOnStats can also easily be modified to sort on your custom fields.

http://whosoncfc.riaforge.org

If you would like to add your custom fields just look for this line in whosonstats.cfm:

<cfset catList="city,country,currentpage,entrypage,pagecount,referer,useragent">

This is a comma-separated list that corresponds with fields in WhosOnCFC.  I listed the basic values that can be found in a stock implementation and you can add or remove values as you see fit.

Also it should be noted WhosOnStats does not track page history since complex objects, such as arrays, cannot be returned as a query object.  I am looking into a way to serialize it so it may be returned.  That way you could see what pages people were spending the most time viewing or things along that line.

I have several other improvements on the drawing board as well.  Right now each component has its own copy of user data stored in memory.  I am working on a way to share the user data to try to keep memory use to a minimum.  I have a few other things up my sleeve, but that is the main thing for the moment.

There are several options that are not currently implemented in the code such as the TopN feature for setting the max rows returned by the getQuery() function for whosonstats.cfc.  I will get that out as soon as possible.  Also, if you run into any problems please let me know.  As always, I welcome any comments or suggestions to make WhosOnCFC a better tool.

Comments
Layout: Shane Zehnder ::: BlogCFC was created by Raymond Camden. ::: This blog is running version 5.9.