how can i fetch mac address of a client machine in django

谁说我不能喝 提交于 2019-12-24 04:23:08

问题


My website is having two type of users
1 : Players
2 : Admin users
I want to store mac address of client machine from which player signup/signin into website.i want to block games if there is two games running from one machine or two player session active at same time.


回答1:


I belive there is no way to get mac address in Django. All you can get is HTTP headers in request variable. But still you can get MAC by any other method (via Java applet or ActiveX) and pass it Django by GET or POST request.



来源:https://stackoverflow.com/questions/19654159/how-can-i-fetch-mac-address-of-a-client-machine-in-django

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!