You are here: Re: Excessive socket usage using MS-SQL server via ADO COMobject « PHP Programming Language « IT news, forums, messages
Re: Excessive socket usage using MS-SQL server via ADO COMobject

Posted by Cornald Kruyt on 11/25/05 16:13

"Sean" <oreilly.sean@gmail.com> wrote:

> I am not sure how helpful this will be (probably not very) but if you
> are using the ADOdb Library for PHP try $dbc->PConnect() instead of
> $dbc->Open(). This should open a persistent connection instead of a new
> connection each time.

I am not using the ADOdb library, but thanks for the tip anyway: I will
look into the source code of ADOdb to see how PConnect() is implemented.
Maybe that will give some insight.

What do they mean by 'persistent connection'? That the connection is
kept alive between script invocations? Or that multiple queries done
from the same script invocation reuse the existing MSSQL socket?

Greetings,

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация