IP Geolocation country recognition

181 views Asked by At

what is the best practice to redirect a website visitor from a country like i.e. Russia RU.

I use a geolocation IP resolver. Where do I place the vb code for my asp.net website in order to handle all kinds of webrequests?

I did following steps:

  1. Global.asax Session_Start: If Ip from RU > then redirect to mysite.ru

  2. Masterpage.master.vb Page_Load: If Ip from RU > then redirect to mysite.ru

Is these a best practice in your opinion?

0

There are 0 answers