This is exactly what I was looking for... I just need to adapt it for
LDAP and SQL... and add a callback to auto garbage collector old
database
stuff to get a TTL for cached hosts :)


Well why don't you just change the cache type to timing out, just switch from Ns_CacheCreateSz() to Ns_CacheCreate() and it should work.

Thanks for the advice... :) Now I just need to code the ldap part :)

/Xavier


-- AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> 
with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: 
field of your email blank.

Reply via email to