Re: [PDO] Question on Persistent PDO Connections

From: Date: Fri, 06 Nov 2009 10:24:33 +0000
Subject: Re: [PDO] Question on Persistent PDO Connections
References: 1 2 3 4 5 6 7  Groups: php.pdo 
Request: Send a blank email to pdo+get-311@lists.php.net to get a copy of this message
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

« previous php.pdo (#311) next »