Can I retrieve an ipad unique device identifier that through Safari with a js web app?

99封情书 提交于 2019-11-28 12:28:51

问题


We have an application running on a Windows Server and being accessed by IPads from Safari. The web part is written in javascript.

We would like to store user preferences in the server, but are lacking an identifying number that we can retrieve from the ipad device through our web code, so as to store different ipad's settings under different folders. We have still not implemented user profiles.

I've been doing some reading about the UDID and haven't found a way to retrieve this number with javascript. Is it possible? Is there any other device number or kind of ID that we could use for this purpose?

Thank you!


回答1:


I would think this is a very bad idea(tm).

Instead, why not just do what everyone else does and store your own generated ID in a cookie that pretty much never expires?



来源:https://stackoverflow.com/questions/3764115/can-i-retrieve-an-ipad-unique-device-identifier-that-through-safari-with-a-js-we

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