Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to get the WTSClientAddress from the java.lang.Object getClientInfo()
    primarykey
    data
    text
    <p>In one of our current web application we are using the <a href="http://www.oracle.com/technology/sample_code/products/forms/extracted/getclientinfo/src/oracle/forms/demos/GetClientInfo.java" rel="nofollow noreferrer">getClientInfo</a>() from a <a href="http://www.oracle.com/technology/sample_code/products/forms/extracted/getclientinfo/doc/oracle.forms.demos.GetClientInfo.html" rel="nofollow noreferrer">java.lang.Object</a> reference in our Oracle Forms application which works great for egtting the client IP address of a system.</p> <p>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 IP address of the terminal server and not the IP address of the of the system which is running the TS session.</p> <p>I know there is native windows function that can return the session IP using the <a href="http://msdn.microsoft.com/en-us/library/aa383838(VS.85).aspx" rel="nofollow noreferrer"><code>WTSQuerySessionInformation</code></a> function of <code>user32.dll</code>, and then access the pointer to <a href="http://msdn.microsoft.com/en-us/library/aa383857(VS.85).aspx" rel="nofollow noreferrer"><code>WTSClientAddress</code></a> to get the session IP.</p> <p>However, I don't know how to access this type of information within the Oracle Forms Java development environment.</p> <p>Does anyone know how I might got about doing this using the <code>WTSClientAddress</code> parameter from the <code>WTSQuerySessionInformation API</code> ?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload