Hi All,
Could you help us with a solution for removing locks on the backend (SAP) in case of Firefox? It looks like session does not expire
We have a stateful application. When a tab or browser window is directly closed, the SM12 locks get removed for Internet explorer as well as Chrome. But not for Firefox.
Here is the code used that gets called:
function OnBeforeUnLoad() { var objImg = new Image; objImg.src = gv_url_json + '1x1.gif?sap-contextid=' + gv_url_json_context_id + '&sap-sessioncmd=CANCEL'; var stop = (new Date()).getTime() + 500; while ((new Date()).getTime() < stop) for (e in document.all) tmp = e.innerHTML; }
We have verified that the above code gets called in case of Firefox too when the tab is closed.
We are using the latest version of firefox.
Best regards,
Nimish