I think you can't. The only thing you can do is to tell your user to user their iPhone on first activation process, and store a variable on it (like a hash of the username+password) using localStorage databases. If the account is tagged as activate on your server-side and no databases key for it are stored on the phone, then it's not the same phone...
But no way to get the device ID using JS that i know of R. Le 19 juin 2010 à 16:27, Anthony Papillion a écrit : > This is my second question: does anyone know how to get a hardware ID > from the iPhone in JavaScript? > My webapp will be monetized and I need to make sure only one device is > logging into a particular account. > > Any ideas? > > -- > Anthony Papillion > > Lead Developer, ADCL, Inc. > 1600 W. 12th St > Miami, OK 74354 > > Office: (918) 919-4624 > Mobile: (918) 533-9699 > > "Quality software development and IT services" > > -- > You received this message because you are subscribed to the Google Groups > "iPhoneWebDev" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/iphonewebdev?hl=en. > -- You received this message because you are subscribed to the Google Groups "iPhoneWebDev" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/iphonewebdev?hl=en.
