FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Lookup zip by IP address
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Lookup zip by IP address [message #172989 is a reply to message #172975] Mon, 14 March 2011 23:50 Go to previous messageGo to previous message
Roy Smith is currently offline  Roy Smith
Messages: 11
Registered: November 2010
Karma:
Junior Member
The Natural Philosopher <tnp(at)invalid(dot)invalid> wrote:

>> Most web applications maintain some state in a browser cookie which they
>> use to establish session continuity across multiple HTTP requests. Each
>> of those HTTP requests uses a new TCP connection.
>
> Not always, as I understand it.
>
> http://en.wikipedia.org/wiki/HTTP_persistent_connection

I omitted that because it seemed like an unnecessary complication to the
discussion. You are, however, absolutely correct that it is possible.
I really should have tossed "(in general)" in there somewhere.

>> On a host with multiple interfaces (or a mobile host),
>
> Or a DHCP client that goes 'off line' briefly..

Yup, that's another scenario where a machine could change IP addresses.
It's pretty common, however, for DHCP servers to give the same IP
address back to a given host (identified by MAC address) when it asks
for a new one.

I missed the beginning of this thread, but just looking at the subject
line, I should mention one other concept. Even with geolocation
databases, all you really know from the client's IP address is where
egress router is (assuming the client is behind a NAT or something
similar). For example, I used to work at a place that had a corporate
VPN. I'm located in New York, but when I was on the VPN, to an external
web server, my IP address looked like it was in Massachusetts because
that's where corporate headquarters were and thus where the VPN
connected to the outside world. So, if I was on the VPN and went to
moviephone.com, it would show me what movies were playing in the
Hopkinton area.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Problem getting session through CURL
Next Topic: How to call external php script from html?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Sep 20 04:36:24 GMT 2024

Total time taken to generate the page: 0.04309 seconds