How to record Mac address mobile website?

Asked By 10 points N/A Posted on -
qa-featured

How can I get client’s mac address mobile website in case of the dynamic IP? My system is not able to record those types of IP addresses on my website. So, I would like to record mac addresses, but how to do that, does anybody know?

SHARE
Answered By 60 points N/A #132721

How to record Mac address mobile website?

qa-featured

Hello Jabez,

You didn't mentioned what language you are using in your website, but in JAVA we can get mac address. In JDK 1.6 developers can access MAC address details via NetworkInterface Class. You have to use getByInetAddress() method of the mentioned class and you will be able to get the MAC address of your client. Now you can easily save them.

Hope this gives you some insight to your queries.

Thanks.

Answered By 590495 points N/A #345432

How to record Mac address mobile website?

qa-featured

If you are referring to the MAC address of a computer’s network card, I don’t think that’s possible as the MAC address, according to TCP/IP standards, is never communicated outside of the local area network or LAN where it is connected to. “MAC” stands for “Media Access Control” where “media” refers to the local transmission media.

The MAC address is locked within the internal network. Even routers beyond or outside the local area network don’t get that information. If you want to identify unique visitors, there are many other ways to try like matching the user agent’s details in addition to the IP address and serving cookies as part of your response.

The MAC address stored in the packet changes on every hop of its journey. The MAC address stored in the packets which are received by your server will be the MAC address of your point of presence’s router or the equipment of your ISP.

Related Questions