4D v13

Exiting 4D Server

Home

 
4D v13
Exiting 4D Server

Exiting 4D Server  


 

 

To shut down the server:

1. Choose the Quit command from the File menu of 4D Server (Windows) or the 4D Server menu (Mac OS).

The following dialog box is displayed on the server machine:

2. Enter the number of minutes in which you want the server to shut down, or choose the “Wait for all Users to disconnect” option.

As soon as you do this, no new client can connect to the server.

  • If you choose the “Disconnect from Server in XX min.” option, the following window appears:

An identical window appears on each 4D client machine (the Cancel button does not appear on the 4D machines). This window is repeated or updated on each client machine every 20 seconds or so, in order to prompt them to quit. When the time limit is reached, the server quits even if there are client machines still connected.

  • If you choose the “Wait for all Users to disconnect” option without entering a message, the following window appears, which indicates the number of clients that are still connected:

On each 4D client machine, the following window appears displaying a default message:

If you entered a custom message in the 4D Server shutdown dialog box, it is displayed instead of the default message on each client machine. For example:

The server will quit as soon as all the clients are disconnected.

  • If you have chosen the “Disconnect all clients and quit” option, the server ends all processes and all connections and quits after a few seconds.

Notes:

  • In all cases, if no client is connected to the server when the shutting down window is validated, 4D Server quits immediately.
  • If you click Cancel in the 4D Server shutdown window, the process of shutting down the server is canceled.
  • You can close the database (and disconnect the clients) without quitting the 4D Server using the Close database... command. For more information, please refer to the ON EVENT CALL4D Server Menus section.

 
PROPERTIES 

Product: 4D
Theme: Using 4D Server