Tracking number of visitors

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
denisw
Forum Newbie
Posts: 14
Joined: Mon Jul 24, 2006 11:21 pm

Tracking number of visitors

Post by denisw »

I need some advice on what is the best way to implement number of visitors tracking mechanism.

Many suggest to use IP Address. However accoding to me it's not really accurate, especially in the case some users accessing the net via same proxy server.

I have an idea of using session id.

If particular visitor can have unique session id during their active session, then logically this can be used as accurate way to track the number of visitors.

pls give some feedback.

thanks.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Session-based is a fairly common way.
Post Reply