Hi,
I am using the login required marker in my login page to enable relogin. The mechanism is working fine on my machine when using 'localhost' as URL. But as soon as I use the IP (e.g. 127.0.0.1) the script runs into an infinite loop.
I`d like to understand why you are checking the domain for an IP in the marker:
Second question is what I did wrong since none of the breaks and also no exception is thrown which causes the script to run infinitely for IP in URL:
Thanks in advance
I am using the login required marker in my login page to enable relogin. The mechanism is working fine on my machine when using 'localhost' as URL. But as soon as I use the IP (e.g. 127.0.0.1) the script runs into an infinite loop.
I`d like to understand why you are checking the domain for an IP in the marker:
Code:
while (document.domain.indexOf(".") != -1) ...
Code:
try { if (window.opener && window.opener.isc) break; if (window.top.isc) break; ...