RE: Getting client IP address

2010-10-12 Thread Maris Orbidans
-Original Message- From: Josh Kamau [mailto:joshnet2...@gmail.com] Sent: 06 October 2010 12:31 To: users@wicket.apache.org Subject: Re: Getting client IP address Thanks guys, I got the IP address. Is it possible to get the client computer name? nope Maris

Re: Getting client IP address

2010-10-12 Thread James Carman
as the value of the CGI variable REMOTE_HOST. On Tue, Oct 12, 2010 at 7:14 AM, Maris Orbidans maris.orbid...@ingg.com wrote: -Original Message- From: Josh Kamau [mailto:joshnet2...@gmail.com] Sent: 06 October 2010 12:31 To: users@wicket.apache.org Subject: Re: Getting client IP

RE: Getting client IP address

2010-10-12 Thread Maris Orbidans
Yes, hostname. Sorry, I thought about something else. -Original Message- From: jcar...@carmanconsulting.com [mailto:jcar...@carmanconsulting.com] On Behalf Of James Carman Sent: 12 October 2010 12:25 To: users@wicket.apache.org Subject: Re: Getting client IP address

Re: Getting client IP address

2010-10-12 Thread James Carman
...@carmanconsulting.com] On Behalf Of James Carman Sent: 12 October 2010 12:25 To: users@wicket.apache.org Subject: Re: Getting client IP address ServletRequest.getRemoteHost(): Returns the fully qualified name of the client or the last proxy that sent the request. If the engine cannot

Re: Getting client IP address

2010-10-06 Thread Altuğ Bilgin Altıntaş
Read with order 1 - http://www.javadb.com/get-users-ip-address 2 - https://cwiki.apache.org/WICKET/raw-httpservletrequest.html 2010/10/6 Josh Kamau joshnet2...@gmail.com Hi Team; Is it possible to get the IP address of the client and how? kind regards.

Re: Getting client IP address

2010-10-06 Thread Richard Nichols
There may be a more correct way of doing it, but this will work - getWebRequestCycle().getWebRequest().getHttpServletRequest().getRemoteAddr(); On Wed, Oct 6, 2010 at 9:46 PM, Josh Kamau joshnet2...@gmail.com wrote: Hi Team; Is it possible to get the IP address of the client and how? kind

Re: Getting client IP address

2010-10-06 Thread Josh Kamau
Thanks guys, I got the IP address. Is it possible to get the client computer name? i checked the ClientInfo Object and it doesnt have much. regards On Wed, Oct 6, 2010 at 1:58 PM, Richard Nichols r...@visural.com wrote: There may be a more correct way of doing it, but this will work -