powered by Jive Software

How can I log session IP addresses?

Hi everyone!

I need to log IP addresses associated with user session and (hopefully) see the session IP history for each user. How can I do this?

There is a property to set to log session IP addresses?

Thanks a lot!

Ciao Giuseppe,

Thanks for the enhancement request. I have added to JM-149 the request to track the IP address of the remote client.

In the admin console (click on Sessions) you can see the IP address of each session. If you want to get that information from a client then you will have to write a component that provides that information. To get the IP address of a session do the following:

session.getConnection().getInetAddress().getHostAddress()

Regards,

– Gato

Grazie!