I didn't frame my query properly. It was incomplete. My bad.

Here's the scenario.
- I am using Java backend (tomcat)
- I am using Remote Object functionality.

Now from flex I wish to send the client IP when I invoke a method on the Remote Java Object. What is the best way (if at all there is one) to send the client IP address ?

Thanks


On Mar 22, 2007, at 2:20 PM, Adam Royle wrote:


The server can tell you what their IP address is.

In PHP it would be something like this:

$_SERVER['REMOTE_ADDR'];

But remember that IP addresses can be faked. And in the example above you might get their proxy's IP address, and not the actual IP address of their computer/router.

Cheers,
Adam

----- Original Message -----
From: Bhuvan Gupta
To: [email protected]
Sent: Thursday, March 22, 2007 6:31 PM
Subject: [flexcoders] Client IP Address

Hi All,

I want to send client's (browser's) IP address to the backend.
As I understand, Flex doesn't provide support to fetch the client IP
Address.
What is the best and browser independent way to send client IP to the
backend ?

Thanks




Reply via email to