WordPress Session Management

July 14th, 2008 by Sean Leave a reply »

I’ve been working on YourMembers for some time now and have started selling it on newmedias with Tim Nash and I wanted to get some useful stats on the current state of the website. Luckily the selling site is running on WordPress so I put together a simple plugin to give me some information on my last days visitors.

Believe it or not I call it ‘session manager’ and It’s freely available through this site and via the wordpress plugin directory (when I get around to uploading it). It gives you the following information:

  • The number of visitors in the last day (configurable)
  • The number of pages each visitor looked at
  • Which they were
  • The times each page was visited

That’s it!

I find that a lot of stats plugins give what I would call too much information (ie pretty graphs, information on screen resolution and things like which browser the client is using). Session Manager differs because it provides is a very light weight single table implementation giving 90% of the functionality for 10% of the overhead.

I have been using it on this site and newmedias for the last week or two and it has been instrumental in giving me enough stats data to satisfy that ‘whose looking at my site’ itch. Exactly what I needed!

Any feedback would be greatly appreciated and if anyone fancies having a look at the code and trying to make something more of it then i would be keen to hear about it. I have written it in very clear coherent PHP that anyone could understand.

See the Session Manager page for the download link.

Leave a Reply