Show/Hide Toolbars

How to Implement Server Scripting and Logging With FVTerm

PostConnectEx is provided control after a successful connection to a new session.  At the time this is called, the first screen of the connection is active.

 

PostConnectEx has sign-on automation as its best use.  We have examples that show how to implement an "administration free" single sign-on.

 

         /// <summary>

         /// PostConnectEx is called after PreConnectEx

         /// </summary>

         /// <param name="oScreen">Active HostScreen object for the new connection</param>

         /// <param name="connectInfo">Connection info dictionary filled-in by the PreConnectEx method</param>

         /// <param name="errorMessage">Set to an error message if false is returned</param>

         /// <returns>bool - set false to cancel and close the connection</returns>

         static public bool PostConnectEx(HostScreen oScreen, Dictionary<string, object> connectInfo, ref string errorMessage)

         {

                 //oScreen.putCommand("simmy[tab]host[enter]");

                 return true;

         }