Skip to Main Content

Oracle Forms

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Oracle APEX get local computer Name

JSonySCCApr 25 2013 — edited Apr 25 2013
Hi
I am new to Oracle APEX.
In one of our CRM system module requires to store user's IP Address and Computer Name.
I hav managed to get IP Address using OWA_UTIL.get_cgi_env('REMOTE_ADDR') , but i am struggling to get the Computer NAme.

IS there any way of getting the computer name??

I have tried sys_context('userenv','host') but that gives the serve name

Also, I have tried to excevte the following Java Script code in one of the Dynami Actions

function GetComputerName()
{
try
{
var network = new ActiveXObject('WScript.Network');
// Show a pop up if it works
alert(network.computerName);
}
catch (e) { }
}

Neither of them worked?

I think what i basically want something equivalent to 'Webutil_clientinfo.get_host_name ' because thats what i have Used in Oracle Forms and it gives me the correct computer name instead of server name.

Please help :-(

Thanks
JS
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 23 2013
Added on Apr 25 2013
2 comments
639 views