[eluser]Phil Sturgeon[/eluser]
You could use CI's db sessions and run a query on that?
Either that or do the normal
on pageload
insert userid, page, ip, date
then run a cron job every x often deleting old sessions? Could be run every 5 mins to delete all entries which should keep things FAIRLY accurate?