[prev in list] [next in list] [prev in thread] [next in thread]
List: openldap-devel
Subject: Re: Bind - Unbind
From: "Pierangelo Masarati" <ando () sys-net ! it>
Date: 2005-05-20 11:56:14
Message-ID: 39398.131.175.154.56.1116590174.squirrel () 131 ! 175 ! 154 ! 56
[Download RAW message or body]
There's a bi_connection_destroy hook in BackendInfo which is called when
the connection is closed. I think that's the appropriate place to cleanup
resources allocated during a connection. This is what do, for instance,
back-ldap and back-meta.
p.
> I am still playing around with the PerlBackend. Now I am implementing
> session management in my Perl Objects.
> I maintain a connection pool where I have information about the active
> connections.
> Normally makes a bind, after when he is done is makes unbind. The user
> could however simply forget to program an unbind.
> The frontend makes a Connection_close, if it sees that the connection
> ends. How does the backend get notice of this ? I have seen only close
> functions for the backend and the backend DB not for a connection.
>
> Thx a lot
>
> Reinhard
--
Pierangelo Masarati
mailto:pierangelo.masarati@sys-net.it
SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic