查找访问者的ISP名称 [英] find ISP name for visitor
本文介绍了查找访问者的ISP名称的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在此先感谢
问候,
Sasikumar
解决方案
您将使用以下命令找到发出请求的计算机的DNS名称:
var dnsName = Request.ServerVariables [" ];
那应该给您发出请求的计算机的URL-它们通常包括ISP的DNS后缀.访客详细信息.
看看
hi
i am developing web application for finding INTERNET SERVICE PROVIDER for visitors.. who are visiting our web page ( For example, I need to get provider name like AIRTEL, BSNL, TATA PHOTON...) i tried some of the way but i cant get the solution.. anyone tel how to get the ISP for visitors..
thanks in advance
regards,
Sasikumar
解决方案
You''ll find the DNS name of the machine making the request using:
var dnsName = Request.ServerVariables["REMOTE_HOST"];
That should give you the url of the machine making the request - they usually include the ISP''s DNS suffix.
There is a very good link that will help you a lot, about tracking the visitors detail.
Have a look
这篇关于查找访问者的ISP名称的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文