I wouldn't be much of a consultant without starting a sentence with "It
depends". :-)

It depends on whether or not you are using transactions (begin, commit,
etc.). If you are not, then absolutely, yes, use persistent
connections. If you are using transactions then use persistent
connections with care making sure errors are being handled properly. If
an error occurs and a rollback is not called, the next request on that
process could simply continue the transaction.

Kevin

-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx]
On Behalf Of Walden H. Leverich
Sent: Thursday, June 11, 2009 10:08 AM
To: Web Enabling the AS400 / iSeries
Subject: Re: [WEB400] Reusing User ID and Password with Zend
i5_Program_Call

And if you are using persistent connections,

Best practice is to "do" or "not do" persistent connections? (Don't tell
me, "It depends") :-)



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.