R
RJN
Hi
I have an onbeforeunload event where in I call a server side script to
release some locks on the databse.
function releaseLock()
{
__doPostBack('btnUnlock','');
}
<body onbeforeunload="releaseLock();>
btnUnlock is a server side html button. I found that in a few occasions
I found that the lock was not released when the page was closed.(clicked
on the top right X). I put an alert inside and the message comes up. Any
idea why this inconsistent behaviour?
Regards
RJN
I have an onbeforeunload event where in I call a server side script to
release some locks on the databse.
function releaseLock()
{
__doPostBack('btnUnlock','');
}
<body onbeforeunload="releaseLock();>
btnUnlock is a server side html button. I found that in a few occasions
I found that the lock was not released when the page was closed.(clicked
on the top right X). I put an alert inside and the message comes up. Any
idea why this inconsistent behaviour?
Regards
RJN