In one of our current web application we are using the getClientInfo() from a java.lang.Object reference in our Oracle Forms application which works great for egtting the client IP address of a system. However we recently started to use Windows Terminal Servers in our organization, and we are now having the problem with this code returning back the i address of the terminal server and not the IP address of the of the system which is running the TS session.
I know there is native windows function that can return the session IP using the WTSQuerySessionInformation function of user32.dll, and then access the pointer to WTSClientAddress to get the session IP. However I don't know how to access this type of information within the Oracle Forms java development environment. Does anyone know how I might got about doing this?
using the WTSClientAddress parameter from the WTSQuerySessionInformation API