MrBarefoot 0 Posted October 4, 2012 Report Share Posted October 4, 2012 Hi Folks I have an online Resume written in Classic ASP and I am trying to find a way to determine a visitor's "GeoLocation" and store the city and state to an Access database. Just to get a rough idea of who has checked it out. I can obtain the info with javascript easily enough, but getting the values to the database without posting the page is a different story. Of course I cannot simply assign a js variable to a server side variable, and there seems to be some browser security issues when trying to access the DB with client side scripting. Does anyone have any suggestions? Quote Link to post Share on other sites
justsomeguy 1,135 Posted October 4, 2012 Report Share Posted October 4, 2012 You can use Javascript to send an ajax request to the server with the data. An ajax request is like a normal browser request except it is sent and handled with Javascript alone, so the page does not refresh or anything. You can send either a post or get request also, with whatever data you want. The tutorial for it is here: http://www.w3schools.com/ajax/default.asp Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.