Groups > IBM > Studio400 > Re: Client's IP address




Client's IP address

Client's IP address
Wed, 19 Dec 2007 08:43:43 -050
We need to know when client logon in to our application, from what specific 
server this client started it's browser. Clients IP address can provide this 
information. How can we find out what is clients IP address or something 
else that will tell us where this client from.
Thanks. 

Post Reply
Re: Client's IP address
Wed, 19 Dec 2007 14:38:28 -050
Gene Tarnopolskiy wrote:
> We need to know when client logon in to our application, from what specific

> server this client started it's browser. Clients IP address can provide
this 
> information. How can we find out what is clients IP address or something 
> else that will tell us where this client from.
> Thanks. 
> 
> 

Hi Gene,

Yes, it is certainly possible to get the client browser's IP address. 
It can be determined in a jsp.  From there you could use it in the 
webapp or drop it in a hidden field and send it back to the host app.

Be aware though that there are cases where the client IP may not always 
be accurate if the client transverses a NAT or similar to get to the server.

Post Reply
about | contact