ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adrian Crum <adri...@hlmksw.com>
Subject Re: Redirect / restrict access based on geographical location of IP.
Date Thu, 26 Feb 2009 22:53:32 GMT
Why not use the browser's locale setting? Those IP databases can have 
errors, or the user's IP might not be included in the database.

-Adrian

masionas wrote:
> Hi Guys,
> 
> I am looking for similiar thing - get geo Country by IP. What I would like
> is to automatically set session locale based on visitor's IP. Example,  for
> United Kingdom's users it will set UK's locale and hence show the respective
> content etc.
> 
> The question is does ofbiz have something already built-in for that? Or
> should I go with the implementation based on
> http://ip-to-country.webhosting.info/  db? Load that csv db in ofbiz entity
> and have a <preprocessor> which does lookup etc.

Mime
View raw message