Can anyone comment on correct way to obtain clients ip address? We want to handle intranet clients (within our sub-domain) differently than internet clients.
Request.environ['REMOTE_ADDR'] works when no proxy but gives ip address of proxy when proxy is being used. Request.environ['HTTP_X_FORWARDED_FOR'] seems to be correct when proxy is being used. Is this the way to go or are there better recommendations? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to pylons-discuss@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---