My browser is set to send keep-alive asynchronous calls to the server every 20 seconds using window.setTimeout()
. The issue arises when an alert()
message appears, causing the AJAX calls to pause. If the user delays dismissing the popup, it may lead to the server incorrectly closing the login session.
We rely on alert()
for displaying error messages, and we are constrained by this method due to product specifications.
Is there any possible workaround for this situation? Thank you