I am making a REST call through PHP curl and in the response i am getting an url that url
opening in new tab . Now Here's my problem starts .
1) The url that i am getting from REST is basically a profile url so on that page a logout
option is present and while clicking on logout button i can notify to my REST client .
But suppose if user close the browser in that case how can i notify to my REST client .
Is there any way to do this .?
Any help would be appreciated.
Example : I make a REST call to http://somweb.com/hi?id=12
In the response i got a URL i.e http://someurl.net/user?id=19
Now i open the REST url(http://someurl.net/user?id=19
) in a new tab to my local machine
Now Question is if user close the tab (REST returned tab )How can i notify to my REST client