Forum Moderators: coopster

Message Too Old, No Replies

Database Connections

Do connections close automatically?

         

migthegreek

11:47 am on May 14, 2009 (gmt 0)

10+ Year Member



If I open a database connection, then redirect the page without specifically closing the connection, does it remain open on the new page?

Habtom

12:05 pm on May 14, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



A mysql_connect - connection will be closed automatically.
A mysql_pconnect - Persistent - needs to be closed

migthegreek

1:45 pm on May 14, 2009 (gmt 0)

10+ Year Member



Great, thanks.