Re: Restricting the user from closing the browser tab so that the server side APIs are called.

2017-05-31 Thread Fred Stluka
Rahul, I don't think you're going to find a reliable way to ensure that the APIs are called from the browser.  There are too many ways for the user to close the browser, or for the browser to crash, or for the browser to lose connectivity to the server unexpect

Re: Restricting the user from closing the browser tab so that the server side APIs are called.

2017-05-31 Thread Melvyn Sopacua
On Wednesday 31 May 2017 14:05:14 Rahul Paul wrote: > We are working on a django project in which we are developing a two > way audio visual solution for the users. Now we have certain set of > APIs that need to be called from JavaScript through ajax request when > user ends the call through our e

Restricting the user from closing the browser tab so that the server side APIs are called.

2017-05-31 Thread Rahul Paul
Hi, We are working on a django project in which we are developing a two way audio visual solution for the users. Now we have certain set of APIs that need to be called from JavaScript through ajax request when user ends the call through our end-call button. Some of these ajax calls are sequenti