Page 1 of 1
_Session database
Posted: Sun Oct 07, 2007 7:33 pm
by Mat-D-Rat
I was hoping to make a modification of the Mod_whosonline for a bit of fun, but I've fallen at the first hurdle. For what I want to do I need to know the IP address for each session created. But from looking at the session data, this is not included? Or am I missing something obvious? TIA
Re: _Session database
Posted: Tue Oct 09, 2007 5:05 pm
by Mat-D-Rat
I guess my component has to store a list of IP's manually in another table using the session id? and then deleteing old sessions based on the current session list?
Re: _Session database
Posted: Fri Oct 12, 2007 8:36 am
by Mat-D-Rat
Well my original plan was to have a list of visitors by country... however with no IP information this is impossible at present. So what I have done for now (just learnign/messing about) is work with the session data to show who's using what on the site and split out the bots e.g.
Code: Select all
Bots/Spiders
1 x Google
Users
3 x Internet Explorer 7
2 x Internet Explorer 6
2 x Firefox 2
Total
8 total visitors
Pretty simply stuff!
Is it possible to extend that data stored in a session via a 3rd party component?