When you login to facebook on a new device, they prompt you to name the device. How are they detecting new devices? Are they simply storing the user agents
for each account, or is there a better way to do this? I want to implement this functionality in my php
application.
Thanks.