Integrator Example Login Methods

Integrator Example Login Methods

 

 

Automatic to Site Access Page:

Paste this code into a new HTML document. These examples should get you started on building your own navigation to RIT from an existing site. Working example: http://mpi.mpowerinnovations.com/samples.htm

<html><head><title>Login Examples</title></head><body>

 

<script language="javascript">

<!--

function BasicOpen() {

                ritwin=window.open('http://rit.taylor-tech.com/gisweb/web/default.cfm','RIT','width=800,height=600,scrollbars=yes,status=yes, resizable=yes, left=0,top=0');

                return false;

}

function AuthOpen(sUserName,sPassword) {

                ritwin=window.open('http://rit.taylor-tech.com/gisweb/web/customentry.cfm?txtUserName=' + sUserName + '&txtPassword=' + sPassword,'RIT','width=800,height=600,scrollbars=yes,status=yes, resizable=yes, left=0,top=0');

}

// -->

</script>

 

Main Page Content FAQ Page Anything You Want...<BR><BR>

 

Link Example:<BR>

<a href="" OnClick="BasicOpen(); return false;">RIT LOGIN</a>

 

<BR><BR>

Button Example:<BR>

<INPUT TYPE="button" VALUE="Rapid Integration Toolkit" OnClick="Javascript: BasicOpen();">

 

 

<BR><BR>

Button Example w/AutoLogin:<BR>

<INPUT TYPE="button" VALUE="Rapid Integration Toolkit" OnClick="Javascript: AuthOpen('guest','guest');">

 

</body></html>

 

 

Automatic Direct to Site:

http://localhost/gisweb/web/customentry.cfm?txtUserName=guest&txtPassword=guest&SiteID=2

 

1.      Change localhost to your server name or public domain name that points to web site.

2.      Change txtUserName and txtPassword values to suit your system.

3.      Change the SiteID to the site the user above would like to directly access. Make sure that user has rights to the site or login errors will occur. The SiteID can be found on the site edit page. You must be a web administrator to access these pages.

Notes: It is recommended to combine the two procedures to open the application within a new window for more screen space. This will eliminate toolbars, address bars and anything else not needed while using the product.