Getting client info viz. IP-Address, Host Name in Oracle 10g via middle tier [message #635672] |
Mon, 06 April 2015 05:44 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
![](//www.gravatar.com/avatar/1a1521015d9a03844ff8ce26f7be1429?s=64&d=mm&r=g) |
x-oracle
Messages: 380 Registered: April 2011 Location: gujarat
|
Senior Member |
|
|
Dear friends,
I'm looking for a solution to trace the client's IP-Address, Host Name using Oracle 10g services. The problem is they connect through the Middle Tier and we have only one Oracle user for the Application. From v$session, I get the service name of the middle tier as the osuser.
Also would like to know which form/report is being executed by that client
|
|
|
|
Re: Getting client info viz. IP-Address, Host Name in Oracle 10g via middle tier [message #635687 is a reply to message #635676] |
Mon, 06 April 2015 13:05 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
![](//www.gravatar.com/avatar/6f539f43889b4b3e3fcb6c591073de8f?s=64&d=mm&r=g) |
CraigB
Messages: 386 Registered: August 2014 Location: Utah, USA
|
Senior Member |
|
|
Since you posted your question in the Oracle Forms forum, I can only assume that your users connect to the Middle Tier through an Oracle FOrms application. If this is true, you can use the WebUtil library to obtain the information you need from each client user when they log in. We do this in our application and log the client IP, OS User Name, etc., during the "Logon" process. If you don't use WebUtil for other activities in your Forms app, then you will need to configure your OAS 10g to enable WebUtil. Once done, you can use the WebUtil_Clientinfo package to get the needed information so it can be written to a table.
Craig...
|
|
|
|
|
|
|
|