hi,
I noticed that the relogin script for the login page does not thow an Exception when the domain is an ip-address. This causes an infinite loop.
I just added
after
It works fine now. Can we use this as workaround?
Full Script:
I noticed that the relogin script for the login page does not thow an Exception when the domain is an ip-address. This causes an infinite loop.
I just added
Code:
document.domain = document.domain.replace(/.*?\./, '');
Code:
if (window.opener && window.opener.isc) break; if (window.top.isc) break;
Full Script:
Code:
<SCRIPT>//'"]]>>isc_loginRequired
//
// Embed this whole script block VERBATIM into your login page to enable
// SmartClient RPC relogin.
if (!window.isc && (window.opener != null || window.top != window)) {
while (document.domain.indexOf(".") != -1) {
try {
if (window.opener && window.opener.isc) break;
if (window.top.isc) break;
document.domain = document.domain.replace(/.*?\./, '');
} catch (e) {
try {
document.domain = document.domain.replace(/.*?\./, '');
} catch (ee) {
break;
}
}
}
}
var isc = top.isc ? top.isc : window.opener ? window.opener.isc : null;
if (isc && isc.RPCManager) isc.RPCManager.delayCall("handleLoginRequired", [window]);
</SCRIPT>
Comment