May 05, 2020 04:05 PM|PatriceSc|LINK
I think my goal is clear there is application on the client speaking to the web api sending and getting informations from the web api the problem as i descriped is if two users use this website the information get shared between them the applications
thats on the user machine get manipulated by the other user and vice versa what i want is that application be unique to the user that entering the website.
This is still a technical description of how you try to solve your problem. I meant really a description someone not knowing about programming would do ie something such as :
"I have a web site A and want to keep track of users to show on some other site B how many users are currently browsing my site"
Edit: for now it seems you want to track events on a web site ? You could reigister the sessionid, event description, event datetime in a list and then the other api will jusrt read this possibly filtering out outdated events.
I would not try to detect closing the browser (a user could have left anyway your site in a tab since yesterday and still not use it any more). You also have things like Google Analytics or Application Insiights that allows to track events to see how users
are browsing your site.