Retrieving requester IP

Hey All,
How can you access the requesting computer’s IP address?

Thanks,
Jim Englert

On Nov 29, 2008, at 9:28 AM, James E. wrote:

How can you access the requesting computer’s IP address?

In a controller you can use request.remote_ip. So…

@visitor_ip = request.remote_ip

– gw