Connecting Tech Pros Worldwide Forums | Help | Site Map

Problem with connection to DB with *_close and *_connect

Arthur P.
Guest
 
Posts: n/a
#1: Jul 17 '05
Hi NG!

I am connecting to a msSQL-DB with an own, simple DB conn-class, after
closing the connection, to the DB with mssql_close($this->myhandle), I
still can query my DB; mssql_close returns TRUE, what am I doing
wrong!?

Thx and greets!

Kannan S
Guest
 
Posts: n/a
#2: Jul 17 '05

re: Problem with connection to DB with *_close and *_connect


Wht Connection string you using.

On Mon, 19 Jul 2004 02:52:32 -0700, Arthur P. wrote:
[color=blue]
> Hi NG!
>
> I am connecting to a msSQL-DB with an own, simple DB conn-class, after
> closing the connection, to the DB with mssql_close($this->myhandle), I
> still can query my DB; mssql_close returns TRUE, what am I doing
> wrong!?
>
> Thx and greets![/color]

Kannan S
Guest
 
Posts: n/a
#3: Jul 17 '05

re: Problem with connection to DB with *_close and *_connect


Hello,
I think you use mssql_pconnect().. function for database connection,
it is persistent connection.. use mssql_connect() funtion

regards
R.Suershkannan

On Mon, 19 Jul 2004 15:10:42 +0500, Kannan S wrote:
[color=blue]
> On Mon, 19 Jul 2004 02:52:32 -0700, Arthur P. wrote:
>[color=green]
>> Hi NG!
>>
>> I am connecting to a msSQL-DB with an own, simple DB conn-class, after
>> closing the connection, to the DB with mssql_close($this->myhandle), I
>> still can query my DB; mssql_close returns TRUE, what am I doing
>> wrong!?
>>
>> Thx and greets![/color][/color]

Closed Thread