Santronics Software, Inc.,
Example PrintLoginForms

When using the cookie-based Web Authentication login method, wcWEB uses the login.wct file as a template to display the HTML based login form. The default login form is displayed using Javascript in the wclogin.js file.

In most cases, the default login form will suffice and will provide all necessary automatic logic to handle Open, Closed, Closed/Questionnaire and  Closed/Validation system operation modes.

The default files also provide you enough flexibility to create your own login forms by simply by created a PrintLoginForm.WCT in the http\public folder.  If you create a PrintLoginForm.wct, you must follow the design requirements as specified in Login Form Customization

Custom PrintLoginForm Files:

The following ZIP file provide example PrintLoginForms:

PrintLoginForms.zip

The file contains:

http/public/printloginform.wct
http/public/printLoginForm-ajax.wct
http/public/printloginform-box.wct
http/public/PrintLoginForm-nav.wct
http/public/printloginform-navcb.wct
http/public/printloginform-splash.wct
http/public/printloginform-topbar.wct
http/public/printloginform-topbarcat.wct
http/public/printloginform-google-like.wct
http/public/printloginform-google-like-footer.wct
http/public/printloginform-google-like-header.wct
http/public/printloginform-google-like-intro.wct
http/public/graphics/bar-bgtile.gif
http/public/graphics/bar-but_login.gif
http/public/graphics/bar-globe.gif
http/public/graphics/bg-gradient.jpg
http/public/graphics/Forest2test.png

To explore one of these example printloginform#.wct files, you can do so one of two ways:

  1. Rename or copy one the example printloginform-*.wct files to printloginform.wct, or

  2. Create/Edit a file called "http\template\custom\LoginOptionsCustom.inc" and add the line defining the printloginform-*.wct file name you wish to use, for example:

    @SET LOGIN.CUSTOMFORM="WC:\HTTP\PUBLIC\PRINTLOGINFORM-TOPBATCAT.WCT"@

Cross Domain Logins:

The follwing ZIP profiles a special example of custom login form to perform cross domain logins into a Wildcat! Web Server allowing cross domains logins.  

wcCrossLogin.zip

A cross domain login is when the login form in displayed in another non-Wildcat! Web Server Site and you wish to have the user login into a remote or backend Wildcat! Web Server.  The ZIP file contains the files necessary to be placed at the non-wildcat web server into a folder called /PUBLIC.  You may edit these standalone files for your preferred folder location at your non-wildcat Web Server.

Requirements for Cross Domain Logins:

The Wildcat! Web Server must be ready to handle this by using the wcBASIC application, html-xdl.wcx.  It must have this file installed before the non-Wildcat! web server with the login form can use this cross-domain functionality.   If this WCX is not installed, the user will fail to login.  The following zip contains the file HTML-XDL.WCX (wcBASIC source code included) which must be placed in Wildcat! installed folder:

html-xdl.zip

Special Note:  Cross domain logins falls under a highly scrunitized security check by Web Browsers..  Web Browsers do not normally allow this and it is only possible with Wildcat! when the Wildcat! Web Server has the html-xdl.wcx installed.