Ldap connection load

From: Afnan Zari (azg.groups_at_gmail.com)
Date: 12/27/04


Date: 27 Dec 2004 08:35:26 -0800

Hi,

i need to ask that, while making an ldap connection ... which approach
is better?
1. Open connection, do one operation, close the connection ... and
repeat this process for all operations.
2. Open conncetion, do all operations, close connection.

considering that my page like is not mopre than 2 sec.
Thanks in advance!

Afnan



Relevant Pages

  • Conn.Close() and Login Error w/Subsequent Conn.Open()
    ... I have a data conversion program that is reading data by accessing the Sql ... The exact same connection string is used for all ... Open Connection ... Execute several Inserts via ExecuteNonQuery ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: ADO Error ( think)
    ... When you open connection do you specify file name in a path as well? ... > my database is not local. ... > Dim Upload ...
    (microsoft.public.data.ado)
  • Re: Free WiFi was "Camping" at Wal-Mart
    ... for harm". ... Why would anyone have a completely open connection? ... When I "see" an open connection, I check to see if signing up is ... a curb, with a "FREE" sign on it. ...
    (rec.outdoors.rv-travel)
  • Re: [ANN] RealThinClient components > preparing the Roadmap for the Year 2006
    ... each open connection has to have one thread running. ... means that by using synchronous communication on Windows, ... asynchronous communication (using IO completion ports like ICS does). ...
    (borland.public.delphi.thirdpartytools.general)
  • Re: Global Database connection in all classes
    ... With ADO.Net and connection pooling, ... > I have a database class, in a separate namespace and file, i created> that handles all the connection opening, executing statements etc. ... I want to be able to> open the db connection once, and no matter if i'm running a method in> the UserSession class, or the Global Functions class to be able to use ...
    (microsoft.public.dotnet.framework.aspnet)