Oracle APEX get local computer Name
JSonySCCApr 25 2013 — edited Apr 25 2013Hi
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