Re: Sessions seems to kill db connection

From: Date: Fri, 23 Oct 2009 19:00:45 +0000
Subject: Re: Sessions seems to kill db connection
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-299274@lists.php.net to get a copy of this message
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

« previous php.general (#299274) next »