How can I get a users location in a KRL rule?
- What is the method?
- What is the advantage or disadvantage of using that method?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Here is a simple example
And here is the docs. http://docs.kynetx.com/docs/Location
The issue you will find is that sometimes the ip does not really represent the real location of the user because the user could be using a proxy. Also with most ISP’s the ip is registered to a location a the and ISP’s hub not the direct location of where the IP is being used at any given moment.
With the advent of html 5 and location apis in the browser it may be posable in the future to get a more exact location but that has not been implemented in KRL as of yet.