Reputation: 197
Is it possible to get the remote client IP adress if I need to get this informantion to log a user activity by example?
PS.: I'm using Oracle APEX 4.2 version.
Upvotes: 3
Views: 7149
Reputation: 197
In Oracle APEX you can get the remote client IP address using the OWA_UTIL package like the example bellow:
select owa_util.get_cgi_env ('REMOTE_ADDR') from dual;
As described in the documentation:
The OWA_UTIL package contains utility subprograms for performing operations such as getting the value of CGI environment variables [...].
Upvotes: 6