on 2024 Apr 17 4:06 PM
I'm looking for tips on using ConnectionPool with SA17 and PowerBuilder.
My app is connecting/disconnecting frequently using the same userid/password. I can't use a long term connection due to how it is structured.
Request clarification before answering.
ConnectionPool
Controls the behavior of client connection pooling.
{ ConnectionPool | CPOOL }={ NO | YES [ ( [ Timeout=timeout-sec; ] [ MaxCached=max-cachedconn ] ) ] }
timeout-sec = Idle timeout in seconds before the connection is dropped. max-cachedconn= The maximum number of cached connections from each application.
Default:
ConnectionPool YES Timeout=60 MaxCached=5
Example:
;ConnectionPool=YES (Timeout=60; MaxCached=5);
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
75 | |
30 | |
9 | |
8 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.