Hi Thomas,
Am I doing this correctly, or should the application server connect then immediately disconnect from BaseX to serve each individual user query (in the same way that PHP works with MySQL)?
In general, it should be possible to send multiple commands and queries via an open connection. As I don’t know what exactly your are doing, feel free to provide me with a minimized example.
Best, Christian