track online visitors ip address and country name in asp.net

Last post 04-18-2008 1:54 AM by pure.krome. 4 replies.

Sort Posts:

  • track online visitors ip address and country name in asp.net

    04-02-2008, 2:20 AM
    • Member
      128 point Member
    • ashok-tech
    • Member since 03-04-2008, 4:32 AM
    • Posts 54

     hi all,

            how to track online visitors ip address  of those who are visiting my web site in asp.net.....

    and  how to track country name by using ip address.....
     

     

     

    Ashok 

    Ashok
  • Re: track online visitors ip address and country name in asp.net

    04-02-2008, 4:30 AM
    Answer
    • Contributor
      2,216 point Contributor
    • sudipta
    • Member since 02-25-2008, 3:33 PM
    • India
    • Posts 448

    Ashok,

    You can get the IP Address by - Request.ServerVariables("REMOTE_ADDR")

    You can download the Ip-to-country database from: http://ip-to-country.webhosting.info/

    and the country information database from: http://www.nabeelakhtar.net/devzone/db_details_index.php?dev=8

    SourceForge link to the Country Information Database is: http://sourceforge.net/projects/countrydb/

    ---------------------------------------------------------

    Please click Mark As Answer if this helped in solving your problem.

     

    Please click "Mark As Answer" if this hepled in solving your problem.
  • Re: track online visitors ip address and country name in asp.net

    04-02-2008, 5:40 AM
    • Member
      661 point Member
    • igoro1975
    • Member since 08-12-2004, 9:10 AM
    • World
    • Posts 158

    IP - Request.UserHostAddress

    "A successful person is one who can lay a firm foundation with the bricks that others throw at him."
    http://www.russiangeek.com/
  • Re: track online visitors ip address and country name in asp.net

    04-08-2008, 3:13 AM
    Answer

    Hi,

    You can use IPAddressExtensions.

    Zhao Ji Ma
    Sincerely,
    Microsoft Online Community Support

    “Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”
  • Re: track online visitors ip address and country name in asp.net

    04-18-2008, 1:54 AM
    • Member
      532 point Member
    • pure.krome
    • Member since 05-28-2006, 12:45 AM
    • Melbourne, Australia
    • Posts 348

    Hi Folks :)

        i noticed that i was getting a few hits from this thread! Kewl! I hope you guys might find my little project helpful :) If you have any questions, don't hesitate to ask on the codeplex discussion board for this project.

    cheers :)

     -PK-

    :: Never underestimate the predictability of stupidity ::
Page 1 of 1 (5 items)