: Is there a protocol for identifying a users's device? A user connects to my web application, I grab some sort of device ID through W3C standard protocols, The user logs in, I can then identify
A user connects to my web application,
I grab some sort of device ID through W3C standard protocols,
The user logs in,
I can then identify this specific unique device owned by the user (not just "iPad" - I'm looking for "iPad3_2C38TY43058" or even just "John's iPad").
This would let me design my web application to treat logins from this device in a specific way, know which of John's 5 devices he's logged in from, etc.
Is there such a protocol? Is there any method of identify a specific device as described?
More posts by @Vandalay111
2 Comments
Sorted by latest first Latest Oldest Best
If you're using a server-side language, you could also check for IP address. For example, in PHP:
stackoverflow.com/questions/1634782/what-is-the-most-accurate-way-to-retrieve-a-users-correct-ip-address-in-php?rq=1
... but be careful with this. Sometimes, you'll just end up with the address of a shared gateway of some sort, rather than the device itself.
Web browsers do not send any identifier that is specific to a device. They send the "User-Agent" header which will generally tell you the name of the browser, version of the browser, and often the type of device.
You can set a cookie the first time that you see a visitor with a unique device ID in it. The user will send that cookie back on every subsequent page visit. Cookies sound exactly like what you want here. They are generally not shared between devices.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.