开发者

redirect user depending on location

开发者 https://www.devze.com 2023-04-07 22:27 出处:网络
开发者_如何学PythonI am getting the user\'s location from his IP address. What would be the best practice to redirect the user to preferrable language website only once? It has to be possible to pick
开发者_如何学Python

I am getting the user's location from his IP address. What would be the best practice to redirect the user to preferrable language website only once? It has to be possible to pick another language and not be redirected again.


I would say store a cookie with location preference.

0

精彩评论

暂无评论...
验证码 换一张
取 消