This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v20 R7
REJECT NEW REMOTE CONNECTIONS
|
REJECT NEW REMOTE CONNECTIONS ( rejectStatus ) | ||||||||
Parameter | Type | Description | ||||||
rejectStatus | Boolean |
![]() |
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.
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)
DROP REMOTE USER
Get application info
SOAP REJECT NEW REQUESTS
Product: 4D
Theme: 4D Environment
Number:
1635
Created: 4D v17 R4
4D Language Reference ( 4D v20 R7)