Hello list,
Is there a way to "ping" a connexion to know if it is still available ?
I'm using Net::LDAP in a ModPerl handler so for efficiency I keep
connexions open between requests. But I would like to know if, for
example, the LDAP server has been restarted. I could do a search on the
suffix and check any error but is there a better way to do this ? I must
have 2 or 3 connexion tests for each request (one with admin dn, one
anonymous and one with the user dn), so the search might be too resource
consuming.
Thanks !
--
\^/
-/ O \----------------------------------------
| |/ \| Alexandre (Midnite) Jousset |
-|___|----------------------------------------