This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com

Home

 
4D v20.6
REJECT NEW REMOTE CONNECTIONS

REJECT NEW REMOTE CONNECTIONS 


 

REJECT NEW REMOTE CONNECTIONS ( rejectStatus ) 
Parameter Type   Description
rejectStatus  Boolean in True if new connections are rejected, else false

The REJECT NEW REMOTE CONNECTIONS command specifies whether or not the application server accepts new remote user connections.

In rejectStatus, pass true to reject new remote connections. Passing false, specifies that new remote connections are allowed.

Note: This command can only be executed on 4D Server. If the method calling the command is executed locally on a remote client or in 4D single user, REJECT NEW REMOTE CONNECTIONS does nothing.

Example  

You want to reject or accept new client connections:

  // Reject the new connections
 REJECT NEW REMOTE CONNECTIONS(True)
  // Execute the maintenance operation
 ...
  // Accept the new connections
 REJECT NEW REMOTE CONNECTIONS(False)



See also 

DROP REMOTE USER
Get application info
SOAP REJECT NEW REQUESTS

 
PROPERTIES 

Product: 4D
Theme: 4D Environment
Number: 1635

This command can be run in preemptive processes

 
PAGE CONTENTS 
 
HISTORY 

Created: 4D v17 R4

 
ARTICLE USAGE

4D Language Reference ( 4D v20)
4D Language Reference ( 4D v20.1)
4D Language Reference ( 4D v20.2)
4D Language Reference ( 4D v20.3)
4D Language Reference ( 4D v20.4)
4D Language Reference ( 4D v20.5)
4D Language Reference ( 4D v20.6)