The onUnload method in ss-utils.js should check if an unRegisterUrl was defined:
$.ss.onUnload = function () {
// Check if unRegisterUrl was set
if (!unRegisterUrl)
return;
if (navigator.sendBeacon)
navigator.sendBeacon($.ss.unRegisterUrl);
else
$.ajax({ type: 'POST', url: $.ss.unRegisterUrl, async: false });
};
I did this to prevent the session from being logged out when the browser is reloaded.
Maybe there is a better way to prevent this, but it does the trick.