I'm using Ibase_connect to open connection to DB.
I want to use the same connection for diferent users if a conection is already established.
Is there a way to declare two global variables, one that keeps the actual open IbaseConnect() and the other one keeps the number of users use it ( when equal to zero, close the connection ) ?
If that the solution how do I implement it ?