Getting users location via IP Address
Posted on 2011-10-27
I work for a company where most of our employees are on the road travelling around the country during the day. They have access to our corporate intranet where they use a cell companies air card to VPN into our network to access our intranet.
On the home page of our intranet, I want to put weather and traffic information for the reps. I would like this to switch dynamically based on the city that the employee is in.
The problem is when I get the reps IP address, it's showing an internal IP, since they are using the VPN.
Is there a way that I can get the aircard's IP address without the VPN address to make this happen, or is there another way I can go about getting their location on the fly without needing an IP?