Tracking Users By IP Address

Peter L Hansen peter at engcorp.com
Fri Oct 8 09:19:36 EDT 2004


Alan Kennedy wrote:
> [Fuzzyman <fuzzyman at gmail.com>]
> That's probably the biggest problem, but I would also add the following 
> other problems which will further widen the error margin:-
> 
> 2. With corporate networks, local IP addresses (i.e. the ones you see in 
> X-FORWARDED-FOR headers, etc) tend to be handed out by DHCP-style 
> dynamic allocation. Which means that the head-of-IT's address this week 
> could be the receptionist's address next week.

On the other hand, however, in a DHCP environment where machines are
typically turned off overnight but all on during the day, and where
you aren't running with 0 spare addresses, most machines will be given
the same address as they had the day before when the server processes
the request... but your point is valid, it will increase the error
margin.

Cookies are the way to go.

-Peter



More information about the Python-list mailing list