You Are Here:

Community: Developer Discussion Boards

#1 Old Uniquely recognize phone where http request is coming from - 2003-03-25, 08:20

Join Date: Mar 2003
Posts: 7
j_jokisalo
Offline
Registered User
Hi!

Does anyone know if there is a way to uniquely recognize the phone one is using? e.g. when my midlet requests a servlet on webserver, I would like the servlet to recognize that the request is coming from my phone. Mac number? unique id?

thanks!
Reply With Quote

#2 Old 2003-03-25, 08:56

Join Date: Mar 2003
Posts: 2,280
Location: Israel
shmoove
Offline
Forum Nokia Champion
In general this is not possible, as far as J2ME is concerned.
You should check with your cellular provider though. Our cellular provider adds a unique ID to the User-Agent string when connecting with GPRS through a WAP gateway, and we are using this ID to identify our users.
Reply With Quote

#3 Old 2003-03-25, 09:16

Join Date: Mar 2003
Posts: 7
j_jokisalo
Offline
Registered User
Thanx! Could you tell who is your cellular provider?

And in servlet or whatever you just extract the Id from User-Agent string and check if matchers, right?

I'm currently using Nokia 6310i...
Reply With Quote

#4 Old 2003-03-25, 13:51

Join Date: Mar 2003
Posts: 2,280
Location: Israel
shmoove
Offline
Forum Nokia Champion
I am talking about Orange (Partner) in Israel.
And the answer to your second question is yes, I parse the ID from the User-Agent string.
The phone model doesn't matter because the ID number is added by the WAP gateway and not by the phone.
You will have to check with your provider if they do anything similar because I don't know if this is a standard practice in WAP gateways.

shmoove
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Forum Jump

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia