Answer the question
In order to leave comments, you need to log in
How can you make sure that the user has closed the web page?
It is necessary to block the editing of the resource if it is already open by someone, i.e. if one of the users has opened a certain page, then others have read-only access to it. How can you track that the user who occupied the resource released it (closed the page) and it again became free for editing?
A project on ASP.NET MVC 5, I'm looking towards SignalR, but isn't it too much, maybe there is an easier way?
Answer the question
In order to leave comments, you need to log in
I look towards SignalR, but isn't it too much
Yes, there are simpler solutions, and if you added client script tags (javascript, jquery), you would get an answer 10 times faster. There are onunload and onbeforeunload events. They are not too cross-browser and may not work in some places, but it will be easier than using SignalR.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question