KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: Timeouts: Database Settings vs SET DATABASE PARAMETER
PRODUCT: 4D Server | VERSION: 13.1 | PLATFORM: Mac & Win
Published On: June 29, 2012

The 4D Server and 4D Remote timeout can be controlled either via the sliders in Database Settings or via code using the SET DATABASE PARAMETER (SDP) command.

(For detailed information about this timeout, see the Mastering 4D Timeouts & Connectivity Settings Tech Note)

A customer asked: does the slider switch override the code or does the code override the slider switch?

The answer is perhaps more complex than the question. Either can override the other. You might say it’s last come, last served. But also it only applies to new connections. Existing connections are unaffected. Here are some examples:

Example 1:


  • Current timeout is 5 minutes.
  • SDP to set the timeout to 1 minute.
  • Existing clients timeout at 5 minutes.
  • New clients timeout at 1 minute.

Example 2


  • Current timeout is 5 minutes.
  • SDP to set timeout to 1 minute.
  • New clients timeout at 1 minute.
  • Use the Settings to set the timeout back to 5 minutes.
  • New clients timeout at 5 minutes.

Also don’t forget if there are different values on either end, the lowest one is always used (i.e. there’s no reason to set remote different than server) as explained in this Tech Tip.