RE: Connecting to MSSQL Server

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

 



I don't recall the specifics, but I believe it drops shortly afterwards.

Do a netstat on it after a specific duration and you will see it has
disconnected.
Also, check out mssql_connect and mssql_pconnect.

Thanks,

John Ellingsworth
http://mail.med.upenn.edu/~jellings/
AIM: vc2000support

-----Original Message-----
From: Gerardo Rojas [mailto:grojas@xxxxxxxxxxxxxxxx]
Sent: Wednesday, February 25, 2004 5:57 PM
To: php-windows@xxxxxxxxxxxxx
Subject:  Connecting to MSSQL Server


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@xxxxxxxxxxxxxxxx

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

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


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux