IP address of the client

Hi, I'm using Oracle Portal 3.0.9
I trie to get the IP Adress of the client.
There are some functions in portal30, which returns the ip adress
of the client like :
WWCTX_API.GET_IP_ADDRESS or
owa_util.get_cgi_env('REMOTE_ADDR')
and more.
But all the functions return the ip adress of my server.
What's wrong ?
Can somebody help's me ?
Thanks Carsten

May be it's something between des servlet and the executed pl/sql-procedure or with session-management?
I've got the same/following problems:
Facts:
I granted execution for portal30.wwctx_api and portal30_sso.wwctx_api to Public.
A PL/SQL-Portlet checks with the following code if user is logged on
if wwctx_api.is_logged_on then
     m_userip := portal30_sso.wwctx_api.get_ip_address;
else
     m_userip := portal30.wwctx_api.get_ip_address;
end if;
Case 1:
"User is logged on"
symptoms:
a) portal30.wwctx_api.get_ip_address gives back the server-ip.
b) portal30_sso.wwctx_api.get_ip_address gives back the client-ip.
Case 2:
"User is logged on and afterwards logged off and stays in the same browser session (IE5)"
symptoms:
a) portal30.wwctx_api.get_ip_address gives back the server-ip.
b) portal30_sso.wwctx_api.get_ip_address gives back the client-ip.
Case 3:
"User is not logged on / anonymous and in an new browser session."
symptoms:
a) portal30_sso.wwctx_api.get_ip_address gives back an error ("User defined Exception").
b) portal30.wwctx_api.get_ip_address gives back the server-ip.
I've also tried the following, but always get the server-ip:
1) SELECT SYS_CONTEXT ('USERENV', 'IP_ADDRESS') into m_IPADDRESS FROM DUAL;
2) m_IPADDRESS := sys.OWA_UTIL.GET_CGI_ENV('REMOTE_ADDR');
3) m_IPADDRESS := wwv_util.getip;
So, my conclusion is that may be the page-engine sees server as client?
Or maybe there's something wrong with Session-Cookies? Sees there has to be cookie at the client.
Can someone give me a hint if there is a workaround?
Regards Joerg.

Similar Messages

  • How to capture the IP address of the client Machine.

    HI...
    I want to capture the ip address of the client machine and store it in a field.
    My client wants to capture the ip address so that he can easily trace out from
    which client system particular work is done.
    if there any pre defined function or syntax is there to get the IP address...
    with cheers
    sprity....

    Hi.....
    i have a attached the web_util.pll n web_util.olb and run the form...
    it is still staying web_util.clientinfo is not declared....
    i want to know where to attach the olb thru subclass...
    i tried in attaching the text item(ip_addr) property.After clicking the subclass it show the we_util.olb.
    but there is no value for in it for both object n property.
    i think if i get info on this then my work is done....
    anyone throw a light on my doubt...........
    with cheers
    sprity...

  • How to get the IP address of the Client machine???

    Hi All,
    I am trying to get the IP address of the Client machine and using the code
    SELECT SYS_CONTEXT('USERENV','IP_ADDRESS') FROM DUAL;
    but this query only return server ip address but i want Client machine IP .
    How can I get that. Please help.

    SowmyRaj wrote:
    Hi All,
    I am trying to get the IP address of the Client machine and using the code
    SELECT SYS_CONTEXT('USERENV','IP_ADDRESS') FROM DUAL;
    but this query only return server ip address but i want Client machine IP .
    How can I get that. Please help.Which client's IP addess?
    SYS_CONTEXT('USERENV','IP_ADDRESS') should give you the IP address of the machine from which the client is connected. So you are running sqlplus from Server?
    To check other session's information, you can check V$SESSION view.

  • I am using Quickbooks Pro with my macbook pro. It does not allow me to use the @ symbol when I am inputting an email address into the client information section. What do I do?

    I am using Quickbooks Pro with my macbook pro. It does not allow me to use the @ symbol when I am inputting an email address into the client information section. What do I do?

    stefani88 wrote: It seems from other discussions my current OS on my laptop is the reason why it won't sync but people running older versions of windows aren't having a problem. So I don't get it.
    Oh. Gosh.  What's Windows got to do with anything? You're on Leopard, on a Mac.
    It seems from other discussions my current OS on my laptop is the reason why it won't sync

  • IP address of the client machine ???

    I want to know how to get the IP address of the user who has logged in from a client machine through Oracle forms. Does anyone how to get it from Oracle forms.
    In fact i tried Sys_context (function) which returned the IP address of the client machine through SQL plus.
    Select SYS_CONTEXT('USERENV','IP_ADDRESS') From Dual;
    For testing sake, created a custom server side function using sys_context. From Oracle forms called the sever side custom function. During run time (from client machine), i got the IP address of the server (application server/DB server/forms server all in one NT box),not the IP address of the client machine.
    Any ideas, welcome.
    Thanks in advance
    Sai
    [email protected]
    null

    SowmyRaj wrote:
    Hi All,
    I am trying to get the IP address of the Client machine and using the code
    SELECT SYS_CONTEXT('USERENV','IP_ADDRESS') FROM DUAL;
    but this query only return server ip address but i want Client machine IP .
    How can I get that. Please help.Which client's IP addess?
    SYS_CONTEXT('USERENV','IP_ADDRESS') should give you the IP address of the machine from which the client is connected. So you are running sqlplus from Server?
    To check other session's information, you can check V$SESSION view.

  • IP Address of the client/browser

    In my WDA application I need to find out the IP address of the client/browser.
    Is this available somewhere (attribute / method of the component controller?)??
    Thanks,
    Brad

    Hi Brad,
    Go to webdynpro application, of the created webdynpro component, there u find the URL ,the  host name.
    after that add that hostname in c:
    windowssystem32\drivers\etc\hosts file.
    for eg: 10.10.30.20   localhost
    The ip adrress, will be either local host (if server installed in same system) or the ip adrress of the installed server system.
    Cheers,
    Mary

  • Getting the IP address of the client

    How do I get the IP address of the client that makes a request in the Internet?
    getRemoteAddr() cannot be used since the client may be from a proxyserver or an ISP provider ...
    Can I get some help on this?
    Thanks in advance
    Jai

    I think you cannot get the IP address of the client if he uses a proxy server.
    Hope to hear good news from others.
    Regards.
    Jeffrey

  • IP address of the CLIENT connected

    Hi,
    I have a question , How can we get the IP address of the machine connected to the database. Many of the users are connected through the application which is running on CITRIX.
    I tried getting from this SQL,
    SELECT SID , username , osuser,PROCESS, TERMINAL,MACHINE
    FROM v$session.
    Here the Machine returned is the IP of the CITRIX.
    thanks

    Unless the application that is connecting to the database is recording the original client's IP address, Oracle has no way of knowing where the actual client connection is coming from. As far as Oracle is concerned, it only knows about the Citrix box.
    It's the same problem in any 3-tier architecture. The database tier has no idea what client tier machine caused the middle tier to open a connection.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • How to get IP address of the client?

    Hi,
    I use the SAP Portal 6 SP2. I need to prevent user from accessing to iview depending of their IP. How can I get the IP of the users? What would the best practice in this case to personalize the iview depending of the IP?
    Thank you,
    Maria

    HI,
    Use the below without Proxy detection:
    <%
        String ipaddress = request.getRemoteAddr();
    %>
    with Proxy detection:
    <%
        if (request.getHeader("HTTP_X_FORWARDED_FOR") == null) {
            String ipaddress = request.getRemoteAddr();
        } else {
            String ipaddress = request.getHeader("HTTP_X_FORWARDED_FOR");
    %>
    Regards,
    Birla.

  • Pls help : How to get the client ip address in EJB

    Hi experts,
    I need to find the ip addr of the client which makes the remote call.
    I tried using
    java.rmi.server.RemoteServer.getClientHost()
    But it throws ServerNotActiveException .
    When I tried this in RMI it works fine perfectly.
    If i am right EJB is just similar to RME and it should work in it too..
    Can you please help me in finding out the ip address of the client which makes the ejb call.
    Thanks & Regards,
    Mukunt

    Hi Mukunt,
    There is no portable way to do this in the Remote EJB programming model. The bean class
    is written in a way that is agnostic to those kind of plumbing-related details of the caller.
    --ken                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Reading the client IP address in RESTfull web service

    Is it possible to read the IP address of the client accessing a RESTfull webservice built in LV? For example, one might want to identify users from local IP addresses and output different information.
    CLD (2014)
    Solved!
    Go to Solution.

    InfiniteNothing,
    Allright, I think I've found somthing.
    Among the Web Wervices VIs, there is a VI called Read Request Variable. One of the variables that you can read is Remote Address and I think this will give you the IP Address. To use these VIs you'll have to use the streaming method of getting data instead of reading terminals (as the example does).
    I hope this helps!
    Ben Sisney
    FlexRIO V&V Engineer
    National Instruments

  • How do I get the client IP Address from the HTTPServletRequest object

    Hi ppl,
    How do I get the IP address of the client machine from the HTTPServletRequest object?
    Thnx in advance,
    Manoj

    Take a look at: http://java.sun.com/products/servlet/2.2/javadoc/index.html and check for the ServletRequest Interface.
    Be aware also if your web server is using proxy, proxyReverse and so because you could end getting the servers' IP and not client one.

  • Get the real IP address of a client

    Hi,
              i know it is a common issue but I haven't found any answer in the forum. I would like to get the remote IP address of a client in a servlet. There's Apache server with Weblogic module used in the architecture of our web application. The getRemoteAddress method of ServletRequest class only returns the IP address of Apache. Is the remote address stored in the HTTP header ?
              Thanks,
              Bengali

    >You could be getting the IP address of a proxy
              Yes I know this, and since it's for an Internet application I don't care
              about their private address... the IP address of their NAT gateway is fine.
              Anyway,
              the HTTP header field is "X-Forwarded-For" for those who would look for
              it.
              Thanks,
              bengali
              > Even if you could get an IP address from the client it is not always going
              > to be the real IP address. You could be getting the IP address of a proxy
              > server or some other intermediate network device. So different users would
              > have the same IP. Getting a host name can also be problematic because
              > reverse DNS might not be enabled for the domain. Also some of the larger
              > ISPs have employed an IP hopping scheme where the DHCP IP address might
              > change in the middle of a user's session.
              >
              > Now in terms of your original question the IP address of the client might be
              > in the HTTP Headers, use the getHeaders() method to spit out all of the HTTP
              > headers and one of them might be the IP Address
              >
              > Dave
              >
              >
              > "Luc Dewavrin" <[email protected]> wrote in message
              > news:25120100.1092994129792.JavaMail.root@jserv5...
              >
              >>Hi,
              >>
              >> i know it is a common issue but I haven't found any answer in the forum.
              >
              > I would like to get the remote IP address of a client in a servlet. There's
              > Apache server with Weblogic module used in the architecture of our web
              > application. The getRemoteAddress method of ServletRequest class only
              > returns the IP address of Apache. Is the remote address stored in the HTTP
              > header ?
              >
              >>Thanks,
              >>Bengali
              >
              >
              >
              

  • Need to grab the client's machine ID

    I am working on a Web-Enabled Application and I need to grab the machine identification (Machine Name or TCPIP Address) of the client (MS NT). Does anyone know which package/class I need to use to do this? I have looked around, and cannot seem to find the one I need.
    John

    Not a problem,
    BTW don't blame me if it doesn't work, as I've found with Java, it never quite works how the documentation says it should.
    I would check that it return the actual IP address and not the 127.0.0.0 IP for localhost.
    Chris

  • Finding the clients connected to a server

    Hai Friends,
    I am doing a project in grid computing. I have developed a socket program for the client and server side using java and multithreading.
    I want to know the number of clirnts connected at a particular period of time and also the IP addresses of the client.
    Can anyone please suggest us the code for doing that.

    Create an object that describes each client. Something like:
    public class Client
        private Socket socket;
        private WhatEver whatEverDataYouNeed;
        ...whatever methods you need...
    }When a client connects create one of those objects and store it in a suitable data structure, e.g. LinkedList. When a client disconnects remove from list.
    There should be a method in Socket that gives you the IP address, see the javadoc for Socket.

Maybe you are looking for

  • Ipod nano plays with headphones but not when plugged in to player

    I have a nano 16gb 4th or 5th generation.  It has worked fine up until about a week ago.  It works if I plug in the headphones, but not when it is plugged into the car stereo or an iHome.  Any thoughts?

  • How to update plug-ins without internet connection?

    witam, mam komputer bez dostępu do internetu ( OFFLINE )  i nowego photoshopa CS 6. po ok. 2 tygodniach, czyli dziś, nie mogę otworzyć pliku Raw w programie Camera raw, gdyż wyświetla mi komunikat o pobraniu nowej wtyczki. jak mam to zrobić skoro nie

  • PCR: Status in the Status Overview table is not updated

    Hello, In MSS, a manager can look at a status of submitted Personnel Change Requests (PCRs).  The status field always displays "open".  It doesn't get updated.  I saw a few notes on this issue. Note 1004470 ISR status overview: Status change incorrec

  • How to remove table cell borders

    Hi, I'm using dreamweaver cs6.first i create a HTML page then i create a div tag (800w 900 h) & create a table inside of above div. i want to keep table border & make it to tickness, want to remove cell borders. I can't find any options to remove the

  • How can I import my regular Android Browser Bookmarks to Firefox?

    I want to have all of my bookmarks from my old/Google+ browser on Firefox also. Thank you. Andy Heller <sub>edit: removed your mail address from public display, since the only thing it will attract are spam bots. you will be notified per mail once so