How To Capture ISP Name?

独自空忆成欢 提交于 2019-12-24 03:27:07

问题


How do I capture the user's ISP name in Salesforce.com? The solution can be in JavaScript of in Salesforce.com such as Apex/VisualForce Pages.

Example of a website which captures the user's ISP name is: http://whatismyipaddress.com/

Thanks!


回答1:


You'll need to query a GeoLocation provider database that has the ISP provider information.

Here is a list of providers listed on the page you've linked in your question: http://whatismyipaddress.com/geolocation-providers

They usually require you to pay, and will probably provide you with samples of how to query their databases.

I'm unaware of any free geolocation databases that provide ISP information.



来源:https://stackoverflow.com/questions/9289439/how-to-capture-isp-name

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!