Is there a way to execute an action if the user closed the page?
Just to explain my situation further, I have a page where the user can submit a request which will get the status (Pending) by default, and the user can update the request details, but I wanted to change the request status to (Updating) from (Pending) while the user is doing the changes, but in case the user closed the app or page the status won't revert back to (Pending) is there any different kind of approach of solution to use here?
Thanks.