How to get Client IP Address from stored Procedure/Function [message #442793] |
Wed, 10 February 2010 10:27 |
aljabali
Messages: 53 Registered: July 2008
|
Member |
|
|
I am using Application Server 10, Database 10g, Oracle Developer Forms 10g .
I want to get Client IP address from a stored Procedure/Function or database trigger, when using SYS_CONTEXT it returns App Server IP, WebUtil is, I have to use in Form but I want to write a stored procedure/function in DB and calling it from Form to get Client's IP address, how I can do it??
please help with an example.
thanks and regards.
|
|
|
|
|
|
Re: How to get Client IP Address from stored Procedure/Function [message #442897 is a reply to message #442844] |
Thu, 11 February 2010 03:43 |
ThomasG
Messages: 3212 Registered: April 2005 Location: Heilbronn, Germany
|
Senior Member |
|
|
aljabali wrote on Thu, 11 February 2010 06:42Why can't ???????????????????
Why can't pigs fly?
Why can't cows jump to the moon?
The database can't see the "client", the database only sees the application server. So it's technically impossible for the database to know the "client" IP.
|
|
|
|