KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: On Server Startup must complete before Clients can login
PRODUCT: 4D | VERSION: 17 | PLATFORM: Mac & Win
Published On: May 15, 2019

The On Server Startup database method allows the developer to write code that will execute on the 4D Server as the server application starts up. This code will execute within the "Client Manager" process.

It is important to understand that the On Server startup code must complete before any clients are able to login.

If the developer has code within the On Server Startup that runs for a very long time no one will be able to login untiul that code completes. For this reason, it may be advisable to use the NEW PROCESS command to create your own processes allowing the On Server Startup database method to complete.