Re: Connecting to MSSQL Server
| From: | Justin Patrin | Date: | Wed, 25 Feb 2004 23:34:20 +0000 |
| Subject: | Re: Connecting to MSSQL Server | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-22994@lists.php.net to get a copy of this message | ||
Gerardo Rojas wrote:
I am able to connect to my MSSQL server and do whatever i need to do. The problem lies in that when I close the connection and the script terminates normally. I do a 'netstat' on my machine i see that i still have a socket connection to all my databases. Isn't the mssql_close() function supposed to close the connection? ENV: Windows 2000 PHP 4.3.3 MS SQL SERVER 2000 -- Gerardo S. Rojas mailto: grojas@strategicinc.comAre you using mssql_connect or mssql_pconnect? If you're using pconnect, the connection is supposed to stay (that's the point of a persistent connection). -- paperCrane <Justin Patrin>