Results 1 to 5 of 5

Thread: [RESOLVED] [2008] Visitor IP

  1. #1

    Thread Starter
    Frenzied Member met0555's Avatar
    Join Date
    Jul 2006
    Posts
    1,385

    Resolved [RESOLVED] [2008] Visitor IP

    Hi, i would like to know how to retrieve page visitor's IP ?

    thx

  2. #2
    Frenzied Member
    Join Date
    Nov 2001
    Location
    Mass USA
    Posts
    1,674

    Re: [2008] Visitor IP

    Dim sClientIP As String = Request.ServerVariables("remote_addr")

  3. #3

    Thread Starter
    Frenzied Member met0555's Avatar
    Join Date
    Jul 2006
    Posts
    1,385

    Re: [2008] Visitor IP

    the problem is it shows 127.0.0.1

  4. #4
    Frenzied Member the182guy's Avatar
    Join Date
    Nov 2005
    Location
    Cheshire, UK
    Posts
    1,473

    Re: [2008] Visitor IP

    It will say that if your testing locally, if you publish to a web server and test it then, it will show the IP.
    Chris

  5. #5

    Thread Starter
    Frenzied Member met0555's Avatar
    Join Date
    Jul 2006
    Posts
    1,385

    Re: [2008] Visitor IP

    yep ur right, it's because i was testing it localy

    thx working....

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width