| get_ip_address function

Related topics
Contained in package wwctx_api. Call this function to get the Internet Protocol (IP) address of the current, logged in Oracle Portal user's browser. function get_ip_address return varchar2;

Version: Oracle Portal 3.0.6.6.5 or later
Returns: This function returns the IP address of the user's browser. Exceptions: If no session is found, a NO_SESSION_EXCEPTION is raised. Example: This example returns the IP address of the user who is currently logged in to Oracle Portal. It returns "unknown" if there is no existing Oracle Portal session. begin return wwctx_api.get_ip_address; exception when wwctx_api.NO_SESSION_EXCEPTION then return 'unknown'; end;

Related topics
Session context API package | PDK PL/SQL API Reference - Home

Back to top
The PL/SQL API Reference is part of the Portal Developer Kit on Portal Studio