I want to implement this in ASP.NET. I don't have any idea about how to do so, unfortunately.
Here how it is done in asp.net
Request.ServerVariables("REMOTE_ADDR")
Get a copy of IP adress database by location here
http://www.maxmind.com/
1.4m articles
1.4m replys
5 comments
57.0k users