Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    isc_loginRequired and ip in URL

    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:
    Code:
    while (document.domain.indexOf(".") != -1)
    ...
    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:
    Code:
    try {
    	if (window.opener && window.opener.isc) break;
    	if (window.top.isc) break;
    	...
    Thanks in advance
Working...
X