Re: [PDO] Question on Persistent PDO Connections
[email protected] (Ulf Wendel) Fri, 06 Nov 2009 11:24:33 +0100
| Newsgroups | php.pdo |
|---|---|
| Message-ID | <[email protected]> |
Lukas Kahwe Smith schrieb: > hmm yeah .. i guess it would be tricky, since generally i think we > should aim to let the RDBMS clean up the session as good as possible if > persistent connections are used. Well, yes, as long as you leave the choice to the users. Restricting choice will make users go for native APIs. Choice is important for performance reasons. What should be considered is a sensible default. The PDO mantra seems to be on security not on performance (otherwise I've no idea why the broken-by-design PS emulation is in use). Therefore, I agree with you that in general implicit clean ups are good. Ulf