On Fri, 19 Nov 2004, Bob Showalter wrote:

> 1. The client IP address, which you can get by calling getpeername() 
> on STDIN (or from REMOTE_ADDR environment variable). If the client is 
> behind a proxy, you'd need to depend on the proxy adding something to 
> the request headers.

Moreover, nearly all corporate web users as well as most academic users 
and a whole lot of home ones are using NAT gateways, so if your site is 
popular with, say, staffers at CNN, you'll get a whole bunch of hits 
from one IP at gateway.cnn.com (or something similar), but it may really 
be several hundred people behind that address. 

Cookies can help get a better sense of individuals rather than just 
subnets, but the numbers are never as accurate as you'll want them to 
be.
 
 

-- 
Chris Devers

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to