如何通过网站访问获取客户端MAC地址? [英] How to get client MAC address by a access on a website?

查看:1562
本文介绍了如何通过网站访问获取客户端MAC地址?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有我的网站,它记录了访问者的数量,IP和访问时间...

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

我想识别每个访问者...我认为可以记录IP地址...但是当IP是动态的时,我的系统出现故障.所以我认为我可以解决它记录MAC地址...是可能的吗?应该使用什么语言? PHP,ASP,Javascript?

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?

谢谢

我可以用来在没有登录信息(用户名& pwd)的情况下识别每个用户.

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

推荐答案

根据TCP/IP标准,MAC地址永远不会在与其相关的局域网之外进行通信-局域网之外的路由器不会甚至获取您要记录的信息.还有很多其他方法可以尝试识别唯一身份访问者,包括在IP之外匹配用户代理的详细信息,在响应中提供Cookie,& c:毕竟, 网络分析"领域的核心功能. MAC地址根本不是合理使用它的技术范围的一部分!-)

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

这篇关于如何通过网站访问获取客户端MAC地址?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆