4D Blog

Home Product Concurrent merged clients from the same computer

Concurrent merged clients from the same computer

May 9, 2019

Product

You asked for a way to run multiple clients on the same computer AND simultaneously connect them to the same 4D Server. We not only heard you, we’re giving you even more with 4D v17 R5! Each connection now includes a separated cache folder containing the connection’s IP address, port, and a hash code. Thanks to this, you can now also connect several clients from the same machine to multiple servers on different machines. There’s no configuration necessary, just launch and watch it work!

Sometimes you (or your customers) need to quickly switch to a different task without closing an application, in other words: start a new instance. Now, you can simply duplicate the application and continue working simultaneously with another instance.

Cached resources for applications are now automatically stored in separate directories for each instance and connection:

  • Windows: “…\AppData\Local\4D\{DBName}_{ServerIP}_{ServerPort}_{unique key}”
  • macOS: “…/Library/Caches/4D/{DBName}_{ServerIP}_{ServerPort}_{unique key}”

 

To allow multiple instances to simultaneously connect to a single 4D Server, a “unique key” is automatically added to the cache.

Addition for Windows

For Windows machines, a new ClientWinSingleInstance key is available in the XML file used by the BUILD APPLICATION command. It can be used to specify whether or not multiple instances of a client application can be launched simultaneously.

The key is set to false in the example below, meaning that multiple instances of the client application can be launched.

  <Preferences4D>
    <BuildApp>
      <CS>
        <ClientWinSingleInstance> False </ClientWinSingleInstance>
      </CS>
    </BuildApp>
  </Preferences4D>

If the key is set to true (or is omitted), only a single instance can be launched.

Check out the documentation for more information.

Discuss

Tags Build application, Client/Server, Deployment, Scalability, v17 R5, v18

Latest related posts

  • October 23, 2025

    Starting Qodly studio is just two clicks away

  • October 22, 2025

    Localize your Qodly Pages: A Practical Guide

  • October 21, 2025

    New Way to Control Your HTTP Responses

Fabrice Mainguené
Fabrice Mainguené
• Product Owner •Fabrice Mainguené joined 4D Program team in November, 2016. As a Product Owner, he is in charge of writing the user stories then translating it to functional specifications. His role is also to make sure that the feature implementation delivered is meeting the customer need.After obtaining a Bachelor degree in Computer Science at CNAM, Fabrice joined a small software publishing company as a Windev developer. Then he worked for different companies in industry and trade areas as a Windev and web developer as well as technical advisor on new features.
  • Deutsch
  • Français
  • English
  • Português
  • Čeština
  • Español
  • Italiano
  • 日本語

Categories

Browse categories

  • 4D View Pro
  • AI
  • 4D Write Pro
  • 4D for Mobile
  • Email
  • Development Mode
  • 4D Language
  • ORDA
  • User Interface / GUI
  • Qodly Studio
  • Server
  • Maintenance
  • Deployment
  • 4D Tutorials
  • Generic
  • 4D Summit sessions and other online videos

Tags

4D-Analyzer 4D AIKit 4D for Android 4D for iOS 4D NetKit 4D Qodly Pro 4D View Pro 4D Write Pro 20 R10 21 Administration AI Artificial Intelligence Build application Class Client/Server Code editor Collections Formula Listbox Logs Mail Microsoft 365 Network Objects OpenAI ORDA PDF Pictures Preemptive Programming REST Scalability Security Session Source control Speed Spreadsheet Tutorial UI User Experience v20 vscode Web Word processor

Tags

4D-Analyzer 4D AIKit 4D for Android 4D for iOS 4D NetKit 4D Qodly Pro 4D View Pro 4D Write Pro 20 R10 21 Administration AI Artificial Intelligence Build application Class Client/Server Code editor Collections Formula Listbox Logs Mail Microsoft 365 Network Objects OpenAI ORDA PDF Pictures Preemptive Programming REST Scalability Security Session Source control Speed Spreadsheet Tutorial UI User Experience v20 vscode Web Word processor
Subscribe to 4D Newsletter

© 2025 4D SAS - All rights reserved
Terms & Conditions | Legal Notices | Data Policy | Cookie Policy | Contact us | Write for us


Subscribe to 4D Newsletter

* Your privacy is very important to us. Please click here to view our Policy

Contact us

Got a question, suggestion or just want to get in touch with the 4D bloggers? Drop us a line!

* Your privacy is very important to us. Please click here to view our Policy