Click here to Skip to main content
15,896,915 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
SQL
I have a website designed for any mobile . Now i want to get a unique ID from each mobile to record in my Database. I used asp.net  application,i need unique id from mobile and use any thrid party also.
 Can anybody help me to solve this ??
Posted

1 solution

Hi Keerthana,

There is no direct way to get UDID (unique Id) from mobile using web application.

You have to implement server side logic to identify unique device ID , you can use cookie for that.

every time request come from device you can check for the cookie ,if cookie is not set generate unique value and set it on device, also store same unique value in your DB
 
Share this answer
 
Comments
keerthana.k 10-Apr-14 2:38am    
can you give example or link how to get device id from mobile using server side logic
vyas_pratik20 10-Apr-14 3:10am    
AS per my answer there is no way to get device ID using server side.
only native application can access the device ID

you should manage each device by setting unique value in cookie.

you can also check answer :http://stackoverflow.com/questions/4609316/how-to-uniquely-identify-the-client-machine-in-an-asp-net-application


Link for cookie: http://www.codeproject.com/Articles/31914/Beginner-s-Guide-To-ASP-NET-Cookies
keerthana.k 10-Apr-14 4:09am    
Hi vyas_pratik20,
My question is how to get the mobile device unique id.Can you please give some idea to get unique id.I am new to this topic.I tried but not getting. Advance thanks your reply. Its urgent.
vyas_pratik20 11-Apr-14 2:15am    
no keerthana you will not able to get unique ID from mobile device using web application
keerthana.k 11-Apr-14 4:13am    
so there is no way for getting mobile device id?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900