How to get client MAC address by a access on a website?

后端 未结 4 1304
星月不相逢
星月不相逢 2020-11-29 05:55

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 Add

4条回答
  •  孤独总比滥情好
    2020-11-29 06:39

    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!-)

提交回复
热议问题