There's lots of scripts out there right that do this, they are generally the same principle of writing an IP address to a database for a given period of time and removing them after a certain period of time.
Nothing difficult to setup.
What I'm wondering, is that with all the statistics that x-cart keeps track of, is it not possible to pull from current statistics to form the number?
I'm not sure exactly what stats are kept.
But with sessions stored in a mysql table, are non logged in users given a session? If they are, you could simply count the number only by counting the number of entries in the sessions table.
|