cancel
Showing results for 
Search instead for 
Did you mean: 

ITS unselectable Login-Fields with Win2k

Former Member
0 Kudos

I've installed a ITS 6.20 PL 18 with IIS 6 on Win2003!

If i visit the login-page with a win2k pc or server then i can't select the login fields! But thats just, if i didn't visit any Website before. For example if i visit www.google.com an after that, I walkthrough the login - it works!

And if i go through the server with the IP-Adress it works. If i go through the server over his hostname then the problem above happens!

I didn't realy find out why it is like that and why its just with win2k - i hope someone can help me.

Thanks in advance

Marco

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Hi Marco,

this is the reason and a possible solution for ITS PL20:

a) see Microsoft-Notes MS-813819,MS-814458 about win2k and IE6. the problem occurs because of the document.domain-setting

b) modify 3 files (after "each" patch of the its):

the changes are:

&& document.referrer != ""

and

if ( document.referrer != null )

<b>\templates\system\sessmgmt.html</b>

vorher

if ( (_dsm == "1" || _itssm == "1" || ~webguiframesetactive == "1") && ~_domainrelaxed != "1")
`
  <script language="JavaScript1.2" type="text/javascript">
    function _wfcreator_setdomain ()
    {
       if (_wfcreator_setdomain.domain == null) {
          var isNumAddr = _wfcreator_setdomain.regexp_ipaddr.test( window.location.hostname);
          var sDomain   = null;
          if (!isNumAddr) {
            sDomain = window.location.hostname.match( _wfcreator_setdomain.regexp_server)[ 8];
            if (sDomain != null && sDomain != "")
                document.domain = _wfcreator_setdomain.domain = sDomain;
          }  // if (!isNumAddr)
          else
              _wfcreator_setdomain.domain = document.domain;
       }  // if (serverinfo already set) ... else
        else
          document.domain = _wfcreator_setdomain.domain;
    }   // _wfcreator_setdomain()

nachher

if ( (_dsm == "1" || _itssm == "1" || ~webguiframesetactive == "1") && ~_domainrelaxed != "1")
`
  <script language="JavaScript1.2" type="text/javascript">
    function _wfcreator_setdomain ()
    {
       if (_wfcreator_setdomain.domain == null) {
          var isNumAddr = _wfcreator_setdomain.regexp_ipaddr.test( window.location.hostname);
          var sDomain   = null;
          if (!isNumAddr) {
            sDomain = window.location.hostname.match( _wfcreator_setdomain.regexp_server)[ 8];
            if (sDomain != null && sDomain != "" && document.referrer != "")
                document.domain = _wfcreator_setdomain.domain = sDomain;
          }  // if (!isNumAddr)
          else
              _wfcreator_setdomain.domain = document.domain;
       }  // if (serverinfo already set) ... else
        else
             if ( document.referrer != null )
                 document.domain = _wfcreator_setdomain.domain;
    }   // _wfcreator_setdomain()

<b>\mimes\webgui\99\scripts\wgu_domain.js</b>

vorher

function wgu_setdomain ()
{
       if (wgu_setdomain.domain == null) {
        var isNumAddr = wgu_setdomain.regexp_ipaddr.test( window.location.hostname);
        var sDomain   = null;
        if (!isNumAddr) {
          sDomain = window.location.hostname.match( wgu_setdomain.regexp_server)[ 8];
          if (sDomain != null && sDomain != "")
            document.domain = wgu_setdomain.domain = sDomain;
           }  // if (!isNumAddr)
           else
            wgu_setdomain.domain = document.domain;
            }  // if (serverinfo already set) ... else
          else
           document.domain = wgu_setdomain.domain;
}

nachher

function wgu_setdomain ()
{
       if (wgu_setdomain.domain == null) {
        var isNumAddr = wgu_setdomain.regexp_ipaddr.test( window.location.hostname);
        var sDomain   = null;
        if (!isNumAddr) {
          sDomain = window.location.hostname.match( wgu_setdomain.regexp_server)[ 8];
          if (sDomain != null && sDomain != "" && document.referrer != "")
            document.domain = wgu_setdomain.domain = sDomain;
           }  // if (!isNumAddr)
           else
            wgu_setdomain.domain = document.domain;
            }  // if (serverinfo already set) ... else
          else
           if ( document.referrer != null )
             document.domain = wgu_setdomain.domain;
 
}

<b>\mimes\system\99\script\its_utils.js</b>

vorher

function its_setdomain ()
{
       if (its_setdomain.domain == null) {
      var isNumAddr = its_setdomain.regexp_ipaddr.test( window.location.hostname);
      var sDomain   = null;
      if (!isNumAddr) {
        sDomain = window.location.hostname.match( its_setdomain.regexp_server)[ 8];
        if (sDomain != null && sDomain != "")
           document.domain = its_setdomain.domain = sDomain;
      }  // if (!isNumAddr)
      else
          its_setdomain.domain = document.domain;
       }  // if (serverinfo already set) ... else
   else
      document.domain = its_setdomain.domain;
}

nachher

function its_setdomain ()
{
       if (its_setdomain.domain == null) {
      var isNumAddr = its_setdomain.regexp_ipaddr.test( window.location.hostname);
      var sDomain   = null;
      if (!isNumAddr) {
        sDomain = window.location.hostname.match( its_setdomain.regexp_server)[ 8];
        if (sDomain != null && sDomain != "" && document.referrer != "")
           document.domain = its_setdomain.domain = sDomain;
      }  // if (!isNumAddr)
      else
          its_setdomain.domain = document.domain;
       }  // if (serverinfo already set) ... else
   else
       if ( document.referrer != null )
      document.domain = its_setdomain.domain;
}

Former Member
0 Kudos

Hi,

thanks that was the problem!

In the PL18 it doesn't have a File "\mimes\system\99\script\its_utils.js", but it works also if i just edit these 2 files.

Regards

Marco

Answers (0)