locked
Request.UserHostAddress for handheld RRS feed

  • Question

  • User-1361957796 posted

    I have a wireless handheld (symbol) used in stores for pricing, etc.

    It is now on my pc via a usb port - not on the wireless network.

    I can see it's IP address in the handheld's window and know what it is that way.

    When it requests a page, in the query string, it does have current ip's and mac's, etc.

    But I need the main one it was currently sent on.

    In other words, I am trying to use Request.UserHostAddress.

    It throws back my own ip for the pc - in cmd window: ipconfig shows this ip for my pc.

    I have also tried using Request.ServerVariables["REMOTE_ADDR"] but shows the same ip.

     

    Now, I'm susspecting this has to do with the current usb connection?

    We are not far enough into the programming to test the wireless yet.

    Anyone have any ideas or suggestions on why it's show my own ip?

     

    Thanks,

    Zath

    Thursday, August 2, 2007 11:29 AM

All replies

  • User1347187933 posted

    I guess it should be activesync connection? Which version of activesync are you using?

     

    Wednesday, August 8, 2007 10:43 AM
  • User-1361957796 posted

    Yes, there is an activeSync version 4.2.0 (Build 4876) involved.

    I see the correct ip addres on the device and even tried

    Request.ServerVariables["HTTP_X_FORWARDED_FOR"]

     

    But it still shows my pc ip.

     

    Zath

    Wednesday, August 8, 2007 1:28 PM