tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Guyatt" <>
Subject Obtaining client connection
Date Fri, 12 Sep 2003 15:29:29 GMT
Hi There,

	I am not too sure if you are actually able to do this but I have a need to
get the IP address/hostname of the client that has accessed a page in our
web application.

This is mainly for security/auditing purposes, however I really need to get
the client Socket connection and not the ip address given in the attributes
of the HTTP header.

Is there any way of obtaining a handle on the client socket that has
connected to the server.

Any help on this matter would be greatly appreciated.

Currently we are using Tomcat version 4.1.18

Many Thanks

Pete Guyatt

View raw message