Skip to Main Content

APEX

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!

How to get machine name in apex?

T101_cyberdyneJun 4 2014 — edited Jun 4 2014

Hi,

First of all, i did go through the forums to find a similar post. I have also tried to get the machine name in apex. Basically by doing a google search, i could run this query to return machine name:

select SYS_CONTEXT ('USERENV', 'HOST') from dual;

It returns the machine name if i run it in SQL developer but it just wont in apex. Why is that? it only returns server name.

i'm in need to retrieve the machine name in order to detect that it is being logged in from a unique terminal. I also found out a javascipt solution but it only applies to IE which uses ActiveX. This limits to only IE so i am unable to use this solution.

Is there any other way?

I need to retrieve something unique from the machine so that it can be identified as a terminal. machine name was my pick because the admin user could set up the machine and key in the desired machine name.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 2 2014
Added on Jun 4 2014
8 comments
2,654 views