Re: Sessions seems to kill db connection

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Kim Madsen wrote on 2009-10-22 17:51:
Hi PHPeople

I have an odd problem at my new work and wonder if it's some sort of odd setup that is causing this problem when using sessions:

Like I said, my new work and odd setup, an include file had a mysql_close() in the bottom

Speaking of mysql_close(), I think I've read somewhere that in PHP6 a db connection will not be closed, when the script is done. Is this true? Cause then it would definetly be best practice to to _always_ have a mysql_close() in the end for the main file.

--
Kind regards
Kim Emax - masterminds.dk

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux