Request.UserHostAddress and IIS Logfiles

Discussion in 'ASP .Net' started by cbanks@bjtsupport.com, Feb 10, 2006.

  1. Guest

    I have read the messages about (not) always obtaining the 'actual' ip
    address of the sender using Request.UserHostAddress. What I don't
    understand is why does the W3SVC1 show one ip address and
    Request.UserHostAddress another?

    I have a table for active users which inserts the userid, ip address,
    valid login and date/time. I was hoping to determine which user was in
    what part of my application at a given time. By using
    Request.UserHostAddress I thought I could create a relationship with
    the logfile to identify the user.

    If some one could explain to me why there is a difference I would
    really appreciate if.

    Thanks
    Charles
     
    , Feb 10, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. robert rottermann via .NET 247

    can I set request.UserHostAddress

    robert rottermann via .NET 247, Sep 15, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    552
    Joerg Jooss
    Sep 15, 2004
  2. tma

    Request.UserHostAddress

    tma, Nov 16, 2004, in forum: ASP .Net
    Replies:
    5
    Views:
    2,467
    Eliahu
    Nov 24, 2004
  3. =?Utf-8?B?aG4=?=
    Replies:
    3
    Views:
    25,468
    John Saunders
    Dec 16, 2004
  4. Kevin Yu
    Replies:
    7
    Views:
    8,433
    Kevin Yu
    Apr 13, 2005
  5. Mark Rae

    Request.UserHostAddress, Vista & IIS7

    Mark Rae, Apr 26, 2007, in forum: ASP .Net
    Replies:
    9
    Views:
    2,795
    Mark Rae
    Apr 29, 2007
Loading...

Share This Page