Persistent Database Connections

Persistent Database Connections - Computer Issues, Video Gaming - Posted: 19th Oct, 2006 - 8:41pm

Text RPG Play Text RPG ?
 

Posts: 1 - Views: 1352
Web Server
19th Oct, 2006 - 8:41pm / Post ID: #

Persistent Database Connections

Persistent Database Connections

Depending on the kind of server you have you may wish to disable persistent connections, especially if you tables tend to lock:

QUOTE
In either case, you can use register_shutdown_function() to register a simple cleanup function to unlock your tables or roll back your transactions. Better yet, avoid the problem entirely by not using persistent connections in scripts which use table locks or transactions (you can still use them elsewhere).


Sponsored Links:

 
> TOPIC: Persistent Database Connections
 

▲ TOP


International Discussions Coded by: BGID®
ALL RIGHTS RESERVED Copyright © 1999-2024
Disclaimer Privacy Report Errors Credits
This site uses Cookies to dispense or record information with regards to your visit. By continuing to use this site you agree to the terms outlined in our Cookies used here: Privacy / Disclaimer,