1 Reply Latest reply on Jan 14, 2010 12:30 AM by Mayank (Adobe)

    Get IP Address, Country and Region name

    ShashiKanth.Reddy

      Hi,

       

      In my quiz application, we have to allow one person to answer once. For this we have to check with IP Address. So how to get the IP Address of the user in flex.

       

      Similary we want reports by country and region for each question.

       

      So how to get the country and region name of the user answering the question in flex.

        • 1. Re: Get IP Address, Country and Region name
          Mayank (Adobe) Adobe Employee

          This information is better checked and validated on the server. On the server side, this information should be available as part of the HTTP Request headers. Any client side validation can easily be bypassed by directly invoking the URL.

           

          Country and region should be available using one of the GeoIP available online.

           

          ps: IP address validation is good, but how would you take care of dynamic ip address assignments?