I am beginner in programming. I am creating study project in Djnago-Python. I want to store MAC address of user who accessing my website (Just for better service purpose). How I get that using Django-Python or any other scripting language?
I tried to many things which I get from Stack Overflow. Those all just returns host's MAC address. I checked this via creating intranet environment and accessed my site from another device. So, how can I get the MAC address of device from which the site is accessing.?
That is only possible on the side of the users PC.You can not get the MAC address from a script running on the host (where it would run if you use django).
That means, you have to execute a script in the browser of your users. Javascript is an option for that. A similar question is here: MAC addresses in JavaScript
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.