How to send data from ajax to a base controller method that runs on every visited page

I want user’s latitude and longitude to be updated on every page visited. In order not to duplicate things, I created a base controller where I also implemented the onActionExecuting which allows the method to run every time on every action from the derived controllers, but I can’t figure out how to pass the latitude and longitude parameters since they are only passed from the browser through an Ajax call.

How to duplicate an ASP.NET MVC project and make it not accept authentication cookies from the original application?

I duplicated an ASP.NET MVC project and renamed all the namespaces to the new project name.
But now, if I log into the original application, and immediately navigate to the duplicated application, the dupe application accepts the authentication cookie and allows me through.
They are hosted on the same domain.
The applications use ASP.NET Identity for authentication.

ASP NET MVC Error construction INSERT with FOREIGN KEY

I have a problem with getting identity primary key from a logged user with using sql queries without Enity Framework.
So when i put login and password of user from my database UserDataController copy UserEmail (login) to WorkSpaceController and put it in public ActionResult UploadFile(string useremail) in useremail data. So I can use it in query in WorkSpaceController to get an ID with this email. But the problem is I can’t use UserID that i got as a parameter for insert query. Look at the code below