Skip to main content
Inspiring
July 16, 2012
Question

How to Get Browser Geolocation into a CFC Using Ajax?

  • July 16, 2012
  • 1 reply
  • 617 views

I'm building a mobile optimized site and would like to deliver relavant content based on the users location. All my content is geocoded so I can handle that part as long as I can get the users coordinates. I'd like to use The HTML 5 geolocation info as opposed to a service or google API. I have found tons of scripts to get the users coordinates, but how can I pass the coordinates to a CFC (preferably without a click) so I can then begin to customize the users content on subsequent page requests?

Thanks!

    This topic has been closed for replies.

    1 reply

    p_sim
    Participating Frequently
    August 17, 2012

    You might be able to pass the coordinate via CF Ajax Proxy.