Sample WSG Server Logon Exit Program
/* Module Description *************************************************/
/* */
/* Source File Name: wsgexit.c */
/* */
/* Module Name: Workstation Gateway Server logon exit program. */
/* */
/* Service Program Name: n/a */
/* */
/* Source File Description: */
/* */
/* This module contains functions to allow a client browser to */
/* bypass an AS/400 sign-on panel and invoke an application. */
/* */
/* OCO Source Materials */
/* */
/* The Source code for this program is not published or otherwise */
/* divested of its trade secrets, irrespective of what has been */
/* deposited with the U.S. Copyright Office */
/* */
/* 5763-TC1,5716-TC1,5769-TC1 (C) Copyright IBM Corp. 1987, 1998. */
/* */

Figure 302. Sample WSG Server Logon Exit Program (Part 1 of 50)

/* Change Activity: */
/* */
/* CFD List: */
/* */
/* $A0=Dxxxxx 3D20 960331 FINGARJM: New function. */
/* $A1=Dxxxxx 4D20 970722 JSTEVENS: Updates, new functions. */
/* */
/* End CFD List. */
/* */
/* Additional notes about the Change Activity */
/* */
/* $A1 - Better logging scheme, flight recorder, new parm 11 added. */
/* $A0 - Initial user exit program. */
/* */
/* End Change Activity. */
/* */
/* End Module Description *********************************************/

Figure 302. Sample WSG Server Logon Exit Program (Part 2 of 50)

572 OS/400 TCP/IPConfiguration and Reference V4R4