Remember device specific data on mobile app

Remember device specific data on mobile app

  
Hi there,

We want to develop the following ;

An anonymous user logs in on his mobile device ( phone, tablet ) and is asked to enter some data during his first visit. The data should be remembered for that specific device, so if he returns a second time, it is no longer necessary to enter these data.

How can we identify the specific mobile device so we can store the data entered by the user.

Thanks in advance.

Edwin
the requirement is a bit strange.
you want an anonymous user staying anonymous, but you want to know some data.
Imho, he/she is not anonymous anymore.

anyways,

cookies?
fingerprint his browser and store that in your database.