I want to update the users location every X number of seconds.
How can I set up an infinite timeout loop that will only break when the user leaves the current page.
I want to update the users location every X number of seconds.
How can I set up an infinite timeout loop that will only break when the user leaves the current page.