MrBarefoot Posted October 4, 2012 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? Link to comment Share on other sites More sharing options...
justsomeguy Posted October 4, 2012 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 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now