locked
Finding out what country the client user is from RRS feed

  • Question

  • User1999497519 posted

    How would I find out what country an user is from?

    I can get there IP address using -  Request.UserHostAddress 

    If the user is from the United States then I want to add the "state" and "zip code" entry controls.

     

    Thanks

    Steve

     

    Tuesday, March 2, 2010 12:49 PM

Answers

  • User236141260 posted

    You can do it using google map api.

    http://code.google.com/apis/ajax/documentation/

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, March 2, 2010 2:27 PM

All replies

  • User236141260 posted

    You can do it using google map api.

    http://code.google.com/apis/ajax/documentation/

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, March 2, 2010 2:27 PM
  • User-758443495 posted

    hi,

    I saw an country lookup senario in the DotNetNuke free opensource project .maybe you can take look at this one.

    Tuesday, March 2, 2010 2:29 PM