Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: How to get user's IP address?
I have noticed that if I do not connect using the '@SID' in my connect string, then I don't get anything for ip address.
Another thing: I think you want to limit your query to v_$session to one row with something like "where sid = 1"
Another thing: You might need to do sys.v_$session.
> -----Original Message-----
>
> E.g. Query:
>
> Select sys_context('USERENV','IP_ADDRESS') from v_$session;
>
> Return NOTHING :(
>
>
-- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Stephen Lee INET: [EMAIL PROTECTED] Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Tue Jun 24 2003 - 16:46:45 CDT
![]() |
![]() |