views:

172

answers:

3

I have my website, and it records the number of visitors, IP and time of access...

I want to identify each visitor... I think that this was possible recording IP Address... but when the IP is dynamic, my system fails. So I think that I can solve it recording MAC address... is possible? What language should use? PHP, ASP, Javascript?

Thanks

Edit: What I can use to identify each user without having login information (username & pwd).

A: 

You can't. Why do you need to uniquely identify them? Give them a username/password...

jtbandes
+10  A: 

The MAC address, by TCP/IP standards, is never communicated outside of the local-area network to which it pertains -- routers beyond that LAN don't even get the information you're trying to record. There are many other ways to try and identify unique visitors, including matching the user-agent's details in addition to the IP, serving cookies as part of your response, &c: it is, after all, a core functionality in the field of "web analytics". MAC addresses are simply not part of the gamut of techniques that it makes sense to utilize for it!-)

Alex Martelli
A: 

Can't you just have them store a cookie, so that when they come back they can be uniquely identified? No username/password requirement.

http://en.wikipedia.org/wiki/HTTP_cookie

Shawn D.