CodeIgniter Forums

Full Version: CodeIgniter Multiple Databases Persistent Connection?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[eluser]Unknown[/eluser]
I'm using multiple database in my CodeIgniter application and have been reading a lot that persistent connections should be turned off.

Why is this measure recommended and is this still necessary in CodeIgniter 2.0.1?

I'm doing things like

$db2 = $this->load->database("dbname", TRUE);