Thread: iPhone IP Address?
12-05-2011, 03:48 PM #1
iPhone IP Address?
- Member Since
- Jul 27, 2010
I don't have an iPhone, but I am sure they have an IP address when connecting to the internet, right?
However, do they have like a private IP address? Or does it change all the time?
I'm trying to think of a way for iPhone users to store data on a website I am working on without them having to have a username/password. I thought maybe the website could recognize the IP address, but if it changes all the time that won't work.
Thanks for any help, much appreciated.
12-05-2011, 04:19 PM #2
- Member Since
- Jul 17, 2009
- 27" i7 iMac, 24" iMac, 13" Macbook Air, iPhone 5 & 5S, iPod Nano 7th Gen, iPad 2 16GB WiFi, iPad 3
Each device on the Internet has a unique MAC address. Additionally, unique IP addresses are required to operate on the Internet, but traditionally, each Internet user gets a public IP address from their ISP and then within their home they have multiple IP addresses in the private IP range (192.168.x.x, 172.16.x.x and so on) that aren't visible outside.
Regardless, when you want to have a website store information related to your visitors, you should do so using cookies that the mobile or desktop browsers allow you to do.
You need to think a bit more about the technical aspects of what you are trying to accomplish..
12-05-2011, 04:24 PM #3
Moved to a more appropriate forum - this is more of a web development question.
There's always LocalStorage as well but it depends what kind of data you want to be stored on the device. If you can make do with simple key/value storage, take a look at LocalStorage - it's fast, simple and requires only a bit of JS.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
By CogitoEAS in forum OS X - Operating SystemReplies: 5Last Post: 05-28-2013, 11:06 PM
By meme1 in forum iOS and AppsReplies: 1Last Post: 10-02-2012, 08:37 PM
By zachg18 in forum iOS and AppsReplies: 2Last Post: 12-05-2011, 04:24 PM
By bbabaa in forum OS X - Apps and GamesReplies: 0Last Post: 10-14-2010, 08:32 PM
By lee634 in forum iPhone Hardware and AccessoriesReplies: 3Last Post: 01-12-2009, 09:15 PM